I want to use google maps in such a way that if user asks for "United States", then the map will open with setCenter of 2 0r 3.
but if he asks for "West开发者_如何学C Broadway NY" then the map will automatically zoom into the neighborhood.
This works on google site, but it not obvious how the API works.
Using this URL, you'll directly go to "West Broadway NY". You can set the size and the zoom of the map.
In order to get this URL, go to maps.google.com and click on the "link" button on the top right. Then click on the "customize..." link.
精彩评论