Norkart / Leaflet-MiniMap

A minimap control plugin for Leaflet
BSD 2-Clause "Simplified" License
395 stars 125 forks source link

"worldCopyJump":true #152

Open pouemes opened 5 years ago

pouemes commented 5 years ago

hello all my var map is var map = L.map("map", {"worldCopyJump":true}) "worldCopyJump":true works perfectly on the map but not on the minimap

the same with setMaxBounds

is it possible to use "worldCopyJump":true for the minimap too? how? thanks

johnd0e commented 5 years ago

It is in README, see mapOptions.

pouemes commented 5 years ago

thanks work L.control.minimap(lgroup,{mapOptions:{"worldCopyJump":true}}).addTo(map);