Page MenuHomePhabricator

[FEATURE REQUEST] Mapped coordinates don't display again if user scrolls around the globe once or more
Open, LowPublicBUG REPORT

Description

I have a list of mapped coordinates coded via mapframe. If I scroll around the world once or more, the locations remained stationary on the old display and do not appear at their coordinates in the new globe

It seems to affect GeoHacks page too.

Steps to Reproduce:

  1. Select a location
  2. Zoom out (so you don't need to use mouse to pan as much)
  3. Scroll in the map (in either direction) at least once around the world

Actual Results:
The pins for the mapped coordinates are anchored in the old globe and do not display again once a user scrolls to the location (with a +/- 360 degrees latitude change)

Expected Results:
The pins should display again in the new globe regardless of how many times a user scrolls pass it

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 28 2019, 5:55 AM

Hi @OhanaUnited, thanks for taking the time to report this! Please provide a link to an example test case.

Hi @Aklapper

Try the map on https://en.wikivoyage.org/wiki/Thunder_Bay

Zoom all the way out until you see entire North America, then keep scrolling left (or right)

I'm inclined to decline this. This is not a bug of the product, it's more of a functionality of Leaflet. Each 'world map' have different boundaries so, in order to have the feature you want, we would need to duplicate the geometries in the map for each 'world map', an infinite number. Also, could you provide any practical reason for having this feature implemented? It looks like an edge case that doesn't affect UX.

That page might not be the best example, but this one is: https://en.wikivoyage.org/wiki/Around_the_World_in_Eighty_Days.

The boundary seems to be set at the international date line. Basically, any maps that would have points or lines crossing the international date line would have this problem

MSantos renamed this task from Mapped coordinates don't display again if user scrolls around the globe once or more to [FEATURE REQUEST] Mapped coordinates don't display again if user scrolls around the globe once or more.Aug 4 2019, 4:10 PM
MSantos triaged this task as Low priority.
MSantos added subscribers: Pikne, Evad37, Yurik.

So, I added as subscribers other people actively watching maps to opine, since I still consider it a feature request and not a bug.

Pikne added a comment.EditedAug 5 2019, 8:53 AM

Repeating the object over and over doesn't seem necessary to me and if tech people say it isn't a good idea then I defer to this assessment.

The way single object is displayed across the date line currently isn't quite satisfactory indeed. I think that's what T144777 is about.