📜  传单更改缩放按钮位置 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:26.156000             🧑  作者: Mango

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

//redefine zoom position 
L.control.zoom({
    position: 'bottomright'
}).addTo(map);