Page MenuHomePhabricator

[mobile] Zoom controls not displayed in portrait view
Open, MediumPublic

Description

The issue is present on iPhone and Android devices (not in the browser mobile emulator). For the page: https://commons.m.wikimedia.org/wiki/User:Gareth/maps/test2

IMG_4717.PNG (1×640 px, 458 KB)

The zoom controls are present on the browser mobile emulator and in the landscape view:

Screen Shot 2018-05-01 at 12.03.50 PM.png (622×390 px, 272 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Vvjjkkii renamed this task from [mobile] Zoom controls not displayed in portrait view to jvdaaaaaaa.Jul 1 2018, 1:12 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot raised the priority of this task from High to Needs Triage.Jul 3 2018, 1:55 AM
Mholloway edited projects, added Maps (Kartographer); removed Maps.

This is intentional behavior.

  1. If static maps is enabled (like on en.wiki) you will only ever get a fullscreen button. Clicking it or the map, will load the javascript (this is for performance)
  2. If the map is interactive, then: When the viewport width is 480px or smaller) the zoom controls will get hidden (not sure why...) On phones you can often test this by moving them into landscape. if they show then, you have hit that case.
  3. Or, if the thumbnail is smaller than 200px then the zoomcontrols will be hidden (otherwise you can't even see the map)