Setting Limits on Pinch Zoom

I would like to not be able to zoom in past the extents of the current display window, is there a way to control this?

Also, I only want to be able to zoom out a certain amount, is there a way to control this?

Thanks, Greg

Hello Greg,

You can set maximum and minimum allowed zooms by setting mte.maxZoom and mte.minZoom. For example, mte.maxZoom = 4, mte.minZoom = 0.25. You may have to experiment a little to find values you like.

right on!  That get’s me rollin :slight_smile:

Hello Greg,

You can set maximum and minimum allowed zooms by setting mte.maxZoom and mte.minZoom. For example, mte.maxZoom = 4, mte.minZoom = 0.25. You may have to experiment a little to find values you like.

right on!  That get’s me rollin :slight_smile: