Page MenuHomePhabricator

Show snapshot map image as background for non-js clients
Closed, ResolvedPublic

Description

In order to enable <mapframe> on all wikis except Wikipedia (Q goal), the editing team has asked to add this feature.

<mapframe> HTML should show static map, for now without any overlays, so that even if the client has no JS enabled, they will still see the map snapshot of the location.

  • If map's location is fully determined by the geojson data it contains, it is ok to show zoom=2 whole world. Otherwise, we should show proper location.

See snapshot documentation at https://github.com/kartotherian/kartotherian#static-map-images

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 309321 had a related patch set uploaded (by JGirault):
Show snapshot map image as background for non-js clients

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

Change 309321 merged by jenkins-bot:
Show snapshot map image as background for non-js clients

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