I am trying to make the Google Maps API respond to an elementclick and zoom into a specific region.
For example. The Map is showing the entire United States, and I click Arizona, I want the map to zoom in the entire state of Arizona. Then I can either hit clear and have the map reset or click another state, say Florida. And have it zoom there.
Additionally, this needs to a global solution. I have regions in Europe, Germany, Russia, Australia I want to add this functionality too.
Thank you for your time.
You can define the coordinates and use the zoom level then center your map in that coordinate.
Consider this script.