Setting a max zoom level using jquery gmap3 & autoFit
问题 I am using 'autoFit' on the gmap3 plugin so it zooms to the best level for the objects on the map. The problem is when there is only 1 object it zooms in to the maximum level which is too far. How can i make it go no futher than zoom level 14? Thanks. 回答1: You can use maxZoom, but that sets the max zoom of the map and not of the autofit function. That means that the user will not be able to zoom further in on the map if they would want to. map:{ center: true, zoom: 10, maxZoom: 18 } Instead I