We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maps has a Chinese version to apply regulation and legal under http://www.google.cn/maps and api point is http://www.google.cn/maps/api/js. It's public access in China while .com one is not available because Great Fire Wall.
Add a country or other optional parameter to specify the Maps is very useful for web developers.
BTW, in my experience, http://www.google.cn/maps/api/js and https://www.google.com/maps/api/js share the same codebase and functional but different tiles resources.
The text was updated successfully, but these errors were encountered:
I wonder if there's a way we can load the correct version automatically rather than exposing a country properties most developers will never use?
Sorry, something went wrong.
All services target to worldwide or developers in China need this feature.
Use country property or baseURL is very accurate, the automatic ways are request timeout, timezone or ip address location.
For who are interested, I've forked and hacked it at https://github.com/gutenye/google-map
Fixes #241
ac8bc55
Merge pull request #315 from GoogleWebComponents/241
c661b13
Fixes #241 - allows api loads in china
No branches or pull requests
Maps has a Chinese version to apply regulation and legal under http://www.google.cn/maps and api point is http://www.google.cn/maps/api/js. It's public access in China while .com one is not available because Great Fire Wall.
Add a country or other optional parameter to specify the Maps is very useful for web developers.
BTW, in my experience, http://www.google.cn/maps/api/js and https://www.google.com/maps/api/js share the same codebase and functional but different tiles resources.
The text was updated successfully, but these errors were encountered: