Search code examples
google-mapsleafletreplicationopenstreetmapmapnik

Data not replicated in openstreetmap


In google maps, when we drag horizontally our data(like markers) will shown in all maps. But in openstreet map data showed in a single world map, not replicated to other maps. Any option to show data in all maps or how to replicate the same world map in all time?


Solution

  • Going to make a wild guess that you're asking whether Leaflet can repeat markers across world copies. If that's the case, yes - see the Leaflet documentation, and the worldCopyJump option.