Since Google provides its API from different domain in China, i.e. maps.google.cn, how should I load the API?
<script src="http://maps.google.cn/maps/api/js?key=YOUR_API_KEY"type="text/javascript"></script>
Currently I'm only using this line and it works.
Is it possible to load the API from https://maps.google.com/maps/api/js first, and if it's not assessable(i.e. user from China) then using maps.google.cn instead? And will this approach be beneficial compared to load API from maps.google.cn no matter what?
Thanks.
