Page MenuHomePhabricator

polygon reaching over meridian 180° gets cut off on large map
Open, LowPublic

Description

polygon reaching over meridian 180° gets cut off on fullscreen map: https://fr.wikipedia.org/wiki/Utilisateur:WikedKentaur/polygon

Screen Shot 2018-05-26 at 20.46.41.png (1×1 px, 287 KB)

Upstream issue: https://github.com/Leaflet/Leaflet/issues/82

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
TheDJ added a subscriber: TheDJ.

Seems it is actually on the other side of the map.

It's not cut off. The problem is it's not being rendered on each repeat of the world. As a different example

image.png (343×1 px, 60 KB)

The polygons should be seen 6 times in the screenshot. The static map gets this right.

Vvjjkkii renamed this task from polygon reaching over meridian 180° gets cut off on large map to h8baaaaaaa.Jul 1 2018, 1:07 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from h8baaaaaaa to polygon reaching over meridian 180° gets cut off on large map.Jul 2 2018, 3:42 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
Jhernandez triaged this task as Medium priority.Aug 7 2018, 3:58 PM
Jhernandez lowered the priority of this task from Medium to Low.
Jhernandez edited projects, added Maps (Kartographer); removed Maps.

There is apparently a Leaflet option to fix this problem. It is called "worldCopyJump"

https://leafletjs.com/reference-1.3.2.html

Hmm, that doesn't really solve it though. Known issue:
https://stackoverflow.com/a/40544502