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.

Google Maps Limited Zoom Example

6 Responses to “Google Maps Limited Zoom”

  1. Matt Hampel Says:

    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.

  2. Kyle Mulka Says:


    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.

  3. djm Says:

    worked brilliantly- thanks for the example

  4. leon Says:

    thanks from greece worked nicely

  5. Jose Soto Says:

    Hi Kyle, thanks for your post, it’s very simple and soooo productive!

  6. Steve Says:

    Thanks, you saved my bacon!

    Cheers from Canada

Leave a Reply