branflake2267 / GWT-Maps-V3-Api

GWT Maps V3 Javascript Bindings
Other
144 stars 113 forks source link

Google maps API access from China #229

Open JulienOrain opened 9 years ago

JulienOrain commented 9 years ago

Hey guys ! Thanks for the project ! I have some trouble to use your lib from China.

My access to maps.googleapis.com is forbidden. The problem is clearly linked to the following page : https://developers.google.com/maps/faq#china_ws_access

Could you do something like a fallback on maps.google.cn when the access to maps.googleapis.com is not successful ?

(In order to test this, you can set the hosts file on your computer to not resolve the google apis URL by adding the following in your hosts file: 0.0.0.0 maps.googleapis.com)

Thanks in advance ! Julien

Ctrl-X commented 9 years ago

I have the same need! Please help!

gbougiakas commented 8 years ago

Unfortunately, I don't think that's possible.

This project uses Google loader to load the Maps APIs from Google (https://developers.google.com/loader/) which does not official supports Maps (http://stackoverflow.com/questions/5296115/can-you-load-google-maps-api-v3-via-google-ajax-api-loader)

I think the only way to get Chinese maps is by using the new API

Githubissues.
  • Githubissues is a development platform for aggregating issues.