Page MenuHomePhabricator

Map marker is misplaced when loading from MCS
Open, Needs TriagePublic1 Estimated Story Points

Description

Steps to reproduce

  1. Ensure app is loading from MCS
  2. Change app language to de
  3. Open [[Watkin's Tower]]
  4. View the map in the article infobox

Expected results

Map marker appears over London

Actual results

Map marker appears on the southern coast of England. (It is correctly placed in the web version and when loading from mobileview.)

Event Timeline

https://de.wikipedia.org/api/rest_v1/page/mobile-sections/Watkin%E2%80%99s_Tower provides the following geo coordinates:

"geo": {
  "latitude": 51.555556,
  "longitude": -0.279444
},

The Koordinaten link from de:Watkin's Tower shows the same coordinates to me:

Geo URI	geo:51.555556,-0.279444

Edit: Ok, just realized that this is not about the geo portion missing but having the wrong location in there. Updated the comment to reflect that.

Duh, the coordinates I was talking about don't even get used by the app. This is about a marker in an image in the infobox.

Looks like an issue with Template:Location map in Parsoid. VE has problems with this template, too (T52714).

Supporting the location map feature would be an unreasonable amount of effort for a legacy feature that has now been replaced by proper software support for maps. Other software components don't support them either, see e.g. T193822: Pushpin disappears after opening image in mediaviewer or T64572: Media Viewer and location map overlays. I would suggest declining and pointing people to Maps (Kartographer) as a replacement for the template.

From Android email:

Call "Land (Deutschland)". Have a look at the map. Try different devices and turn them to landscape/portrait.

Thats the problem with all those maps. Try "St. Helena (Island)". The difference can bee about 2000km, depending on the device/sreen.

+1 user through the Android support email:

The map was marked incorrectly in the Qing Dynasty and Beiyang governments. The incorrectly marked places were marked in red.

1280px-Map-Qing_Dynasty_1820.jpg (972×1 px, 274 KB)

Screenshot_20221219_204422_Samsung Internet.jpg (1×1 px, 146 KB)

+1 user through the Android support email:

Beiyang Government or Beijing Government It is not a map from In 1924, the Mongolian People's Republic was established. And exclude the Republic of Tuva, parts of Central Asia, Afghanistan, and Bhutan.

600px-Republic_of_China_(orthographic_projection,_historical).svg.png (598×600 px, 191 KB)

+1:

The map of Bohai is wrong. It completely occupied Liaodong (the place marked with a red circle) and it was also Bohai territory.

600px-Balhae_map.png (600×600 px, 167 KB)

+1:
Daegu Metropolitan City was incorporated into Gunwi-gun.

Screenshot_20230703_181847_Samsung Internet.jpg (985×713 px, 116 KB)