[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Too small Kartographer map width
Closed, ResolvedPublic

Description

Since about one week the width of a map created by the Kartographer extension and mapframe tag is to small. It is reduced by 10px as compared to the width specified in the tag. 10px seems to be equal to the width of two borders and a padding, twice used. Because of the identical look both of images and maps they should behave in the same manner.

The map shown by the image was created by a call similar like

<mapframe width=300 height=300 zoom=13 longitude=31.1442 latitude=29.1828 name = "Lageplan von Dalāṣ" />

It should be considered that the map border is not part of the map but should be placed outside the map. The inner width (without borders and padding) should be identical to the value specified.

F31704466

Event Timeline

Change 583922 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/extensions/Kartographer@master] Fix width of mapframes

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

TheDJ triaged this task as Unbreak Now! priority.Mar 30 2020, 6:55 PM

Change 583922 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Fix width of mapframes

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