leaflet-control-geocoder
leaflet-control-geocoder copied to clipboard
how to set custom zoom into map when location found
Hi, i need to change default map-zoom level of search result. I try with this code but doesn't work :
.on('markgeocode', function(e) {
map.setZoomAround(e.geocode.bbox.getCenter(), 10);
})
Can someone help me?