The <mapframe> tag enabled by the Kartographer extension no longer works.For ExternalData (geoshape/geoline, After some debugging, I found that the dependency `ext.kartographer.frame` is no longer present on `action=view`.or Commons .map page), a mapframe map that doesn't specify coordinates and/or zoom in the tag will not automatically zoom and center the map if static maps are enabled, It is present on `but will work with interaction=submit`,ve maps. ie when previewing a page.Due to T203863, As a workaroundthis difference is easily noticeable when comparing a saved page (showing a static map) with a preview, I have created https://sv.wikipedia.org/wiki/MediaWiki:Gadget-maphack.jsfrom wikitext edit mode, of that page (showing an interactive map).
If you want to investigate this without the hack, go to **Geoshape example**
https://sv.wikipedia.org/wiki/Special:Inst%C3%A4llningar#mw-input-wpgadgets-maphack and disable "Tillfälligt hack för att kartor ska fungera." and then save your settings./index.php?title=Furillen&oldid=40697838
```
<mapframe text="Furillen markerad med grått i kartan." zoom=11 width="200" height="200" >
{
"type": "ExternalData",
"service": "geoshape",
"ids": "Q1474958"
}
</mapframe>
```
**Geoline example**
https://www.mediawiki.org/wiki/User:Evad37/sandbox/mapframe
```
Mapframe example
<mapframe text="Mapframe example" height="200" width="300">
{
"properties": {"stroke-width":6,"stroke":"#ff0000","title":"ExpandTemplates"},
"type":"ExternalData",
"service":"geoline",
"ids":"Q1094308"
}
</mapframe>
```
Here's an**Commons .map page example page: **
https://svnl.wikipedia.org/wiki/Furillen/index.php?title=Wikipedia:De_kroeg&oldid=51923141#%3Cmapframe%3E
```
<mapframe width=300 height=300 zoom=17>
{
"type": "ExternalData",
"service": "page",
"title": "Haarlem/Grote Kerk.map"
}
</mapframe>
```