umap-project / umap

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
https://umap-project.org
Other
1.19k stars 226 forks source link

POIs should be displayed outside the center of the world map #33

Open yohanboniface opened 11 years ago

yohanboniface commented 11 years ago

Originally reported by: Dan Dascalescu (BitBucket: dandvd, GitHub: dandvd)


When you zoom out a lot, the map may "wrap around" and display the same areas two or more times. The problem is POIs are only displayed once.

This makes it impossible, for instance, to center the map on the Pacific and display POIs in Japan and the West coast of the Americas at the same time.

Test http://umap.fluv.io/en/map/blueseed-platforms_866#2/-11.9/-110.7


yohanboniface commented 11 years ago

Original comment by Yohan Boniface (BitBucket: yohanboniface, GitHub: yohanboniface):


Yep, this is a known problem.

But it's a long way to fix it. See https://github.com/Leaflet/Leaflet/pull/1293

Hopefully I'll work again on it in the next weeks.