Google Maps Limited Zoom
Someone had asked me if I knew how to restrict the zoom levels a user could view using the Google Maps API. I didn’t know exactly how to do it at first, but having done it before caused my brain to lead me in the right direction. I made this simple example showing how to restrict the zoom levels a user can select.
June 11th, 2007 at 6:27 pm
Is there a way to clean up the interface, too? The way it is, there’s no visual indicator that you can’t (or why you can’t) go past the minimum zoom level.
June 12th, 2007 at 4:41 am
Matt,
If you are referring to the fact that Google Maps still shows the farthest away zoom levels on the slider, but doesn’t allow you to access them, then, no I don’t know how to fix that.
March 12th, 2008 at 7:31 am
worked brilliantly- thanks for the example
August 18th, 2008 at 1:13 am
thanks from greece worked nicely
November 12th, 2008 at 9:52 am
Hi Kyle, thanks for your post, it’s very simple and soooo productive!
January 19th, 2010 at 10:35 pm
Thanks, you saved my bacon!
Cheers from Canada