Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

leaflet change zoom button position

var map = L.map('map', {
    maxZoom: 20,
    minZoom: 6,
    zoomControl: false // add this line
});

//redefine zoom position 
L.control.zoom({
    position: 'bottomright'
}).addTo(map);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #leaflet #change #zoom #button #position
ADD COMMENT
Topic
Name
9+6 =