Closed Fotso closed 7 years ago
Hello, I have problem with the mapOptions of my map. I would like to restrain the map zoom to 15 because I am doing a Geospatial Queries. My code looks like this
Template.mypage.helpers({ mapOptions: function(){ if(GoogleMaps.loaded()){ return { center: new google.maps.LatLng(48.8520442,2.3346246), zoom: 13, maxZoom: 15 } } } })
Unfortunately the maxZoom seems to not work... Are they any other possibility to restrain the zoom ?
Alright I posted a solution on stackoverflow
The solution was pretty simple, maxZoom and minZoom have to be declared in order to work !
Hello, I have problem with the mapOptions of my map. I would like to restrain the map zoom to 15 because I am doing a Geospatial Queries. My code looks like this
Unfortunately the maxZoom seems to not work... Are they any other possibility to restrain the zoom ?