mapbox / mapbox.js

Mapbox JavaScript API, a Leaflet Plugin
mapbox.com/mapbox.js/
Other
1.92k stars 386 forks source link

worldCopyJump doesn't preserve "previous world" overlays. #1306

Open Roma36 opened 4 years ago

Roma36 commented 4 years ago

Map doesn't preserve "previous world" overlays when dragging from one "world" to another and "previous world" is still visible.

Steps to reproduce Steps to reproduce the behavior:

Expected behavior "Previous world" overlays are visible.

Current behavior "Previous world" overlays disappear.

Environment

Minimal example reproducing the issue This map has marker placed in Australia:

https://plnkr.co/edit/5raIGRh89ZwNyQ3uv9MM?p=preview