0

Is it possible to allow zooming on Google Maps but only allow the amount of zoom?

I found this code to disable zooming but is there a way I can allow users to zoom in so much?

options = $.extend({ scrollwheel: false, navigationControl: false, mapTypeControl: false, scaleControl: false, draggable: false, mapTypeId: google.maps.MapTypeId.ROADMAP }, options); 

For example I dont want zoome to go any higher than zoom: 15,

1 Answer 1

1

You are looking for the maxZoom property in MapOptions.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.