Page MenuHomePhabricator

Support mapframe maps in mobile apps
Open, NormalPublic

Description

T193470 describes how mapframe maps with images in the GeoJSON code don't display on the mobile apps (ios and Android) or on the mobile website. But what about mapframe maps that do not include such an image? It turns out that these "simple" maps do display on the mobile web site, but do not display on the apps—at least they usually don't.

E.g., here is a page that compares a map that includes an image versus one that has no image.

[desktop link] https://en.wikipedia.org/wiki/User:JMatazzoni_(WMF)/maptest
[mobile link] https://en.m.wikipedia.org/wiki/User:JMatazzoni_(WMF)/maptest

For testing purposes, here are the same maps on test2 wiki, which displays dynamic maps on the page (instead of static maps, like most Wikipedias), and on ca.wiki, which displays static maps and should be the same as en.wiki but we're just making sure.
[test2] https://test2.wikipedia.org/wiki/User:JMatazzoni_(WMF)/maptest
[ca.wik] https://ca.wikipedia.org/wiki/Usuari:JMatazzoni_(WMF)/maptest

the page above on mobile Webthe same page on the iOS app

So why does the title say "sometimes"

In general, the mapframe maps I've looked at on the iOS app do not display. E.g., maps should appear at the bottom of the info box templates on both these pages, from Korean and Italian Wikipedias, respectively (click the gray strips to open the info boxes in the app):

Mapframe maps that do NOT display on iOS app

However, for reasons we do not understand, many mapframe maps do display on Catalan Wikipedia, where mapframe has been implemented for a while now. Here is an example that will, perhaps, provide a clue to the problem:
Mapframe map DOES display on iOS app

image of a mapframe map on ca.wiki that does display in the iOS app (for some reason)

In May Collaboration team released mapframe to277 Wikipedias, including English. This new capability will surely raise the profile and usage of mapframe maps. Please consider this) as you prioritize this ticket and T193470.

Event Timeline

Catrope reopened this task as Open.Jun 6 2018, 5:01 PM

Sorry, this is not actually a duplicate. The maps of Switzerland on https://ca.m.wikipedia.org/wiki/Usuari:JMatazzoni_(WMF)/maptest-basic being broken is the same bug as T193470, because they're broken on the mobile web too and they have images in the descriptions of markers. But the other maps work on mobile web but not in the apps (I tested the Android app, Joe tested the iOS app).

jmatazzoni renamed this task from mapframe maps on iOS app (in my user space) on Catalan (which has mapframe) do not manifest to Even simple mapframe maps don't display (sometimes?) in mobile apps .Jun 7 2018, 12:17 AM
Restricted Application added a subscriber: revi. · View Herald TranscriptJun 7 2018, 1:42 AM
jmatazzoni updated the task description. (Show Details)
jmatazzoni renamed this task from Even simple mapframe maps don't display (sometimes?) in mobile apps to Even simple mapframe maps don't display in mobile apps (sometimes?).Jun 7 2018, 4:33 PM
Vvjjkkii renamed this task from Even simple mapframe maps don't display in mobile apps (sometimes?) to i1daaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
AntiCompositeNumber renamed this task from i1daaaaaaa to Even simple mapframe maps don't display in mobile apps (sometimes?).Jul 1 2018, 12:57 PM
AntiCompositeNumber raised the priority of this task from High to Needs Triage.
AntiCompositeNumber updated the task description. (Show Details)
AntiCompositeNumber added a subscriber: Aklapper.
JMinor renamed this task from Even simple mapframe maps don't display in mobile apps (sometimes?) to Support mapframe maps in mobile apps .Apr 23 2019, 8:38 PM
JMinor triaged this task as Normal priority.