Page MenuHomePhabricator

Automatic zoom and positioning doesn't work for geomasks
Open, LowPublic


Automatic zoom and positioning no longer works when using a mapframe or maplink with "service": "geomask".

Event Timeline

Gareth created this task.Oct 17 2017, 11:29 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 17 2017, 11:29 AM

Testcase (specific link) welcome. Also see

@Pnorman is this something you can take a look at?

Based on the minimal description it's frontend. I'll be better able to say once the bug report has been expanded on.

debt added a comment.Oct 17 2017, 6:45 PM

Hey @Gareth - can you give us more details and specific links on how/where this is happening?

debt triaged this task as Medium priority.Oct 17 2017, 7:44 PM
debt added projects: Maps-Sprint, Discovery.
debt added subscribers: Evad37, Yurik.

Ah...I see the conversation now (where this ticket came from):

Basically, what is happening is that when some of the maplink urls are created, they display a map that is completely zoomed out and the user doesn't know where to look.

This is also tied to the ticket that was created/fixed to add in the ability to use a simple lat/lng or a single WD Qid: T178321.

Here's a few examples. So basically this affects all maps that are based on a geomask unless both a zoom level and coordinates are explicitly specified.

Just confirming that this is still a bug.

Pnorman lowered the priority of this task from Medium to Low.Jun 26 2018, 4:32 PM
Mholloway moved this task from Backlog to To-do on the Maps-Sprint board.Jul 3 2018, 4:59 PM
TheDJ added a subscriber: TheDJ.Jul 7 2018, 8:19 AM

Are we sure this is just with wikidata ids etc ? I see something like this with even a simple .map page

<mapframe width=300 height=300 zoom=17>
  "type": "ExternalData",
  "service": "page",
  "title": "Haarlem/Grote"

Rendered on nl.wp, as if it is located in Algeria instead of in Utrecht, Netherlands

Evad37 added a comment.Jul 8 2018, 9:22 AM

@TheDJ That's a different problem specific to mapframe maps: T193455: <mapframe>: Automatic zoom and centering only works with interactive maps, not static maps. The problem with geomasks happens with both maplink and mapframe maps.