Page MenuHomePhabricator

Initial zoom should not be set to 13 if undefined, only when it makes sense
Closed, ResolvedPublic

Description

  • Create a maplink, such as:
<maplink text="United States of America">
{
    "type": "ExternalData",
    "href": "geoshape:///?ids=Q30"
}
</maplink>
  • Initial zoom is automatically set to 13. Automatic zoom should be more optimal, so the whole country fits into the map.

Event Timeline

JGirault created this task.Sep 5 2016, 7:08 PM
Restricted Application added a project: Discovery. · View Herald TranscriptSep 5 2016, 7:08 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 308603 had a related patch set uploaded (by JGirault):
Set initial zoom to 13 only when it makes sense.

https://gerrit.wikimedia.org/r/308603

JGirault moved this task from Backlog to Needs review on the Maps-Sprint board.Sep 5 2016, 7:18 PM

Change 308603 merged by jenkins-bot:
Set initial zoom to 13 only when it makes sense.

https://gerrit.wikimedia.org/r/308603

JGirault closed this task as Resolved.Sep 7 2016, 10:04 AM