Module talk:Mapframe#Legend and TemplateStyles
{{Permanently protected}}
{{talk header|custom_header=This is the talk page for discussing improvements to the Mapframe module, and the related Maplink template.}}
{{faq|see also=mw:Help:Extension:Kartographer|collapsed=no}}
{{central|text=Template talk:Maplink and related subpages redirect here}}
{{User:MiszaBot/config
| algo = old(150d)
| archive = Module talk:Mapframe/Archive %(counter)d
| counter = 2
| maxarchivesize = 150K
| archiveheader = {{Aan}}
| minthreadstoarchive = 1
| minthreadsleft = 3
}}
Copying template to another language wiki
Hi, I would like to request that this template, together with its dependencies be copied over to the Bulgarian wiki. There are a lot of pages that would benefit from it and there is currently no alternative template to use. The parameters can be left as is, but if needed I can translate them over.
Map not showing up almost two months later
The map in the infobox of Thornlie line is not showing up, almost two months after I created [https://www.openstreetmap.org/relation/18580560 the relation in OSM]. The Wikidata id is tagged on OSM and the OSM relation ID is on the Wikidata item. The map in the infobox of Armadale line has also not updated after I split the Thornlie line map from it. Any idea why? Steelkamp (talk) 15:34, 10 March 2025 (UTC)
:The wikidata Q numbers were not tagged onto the correct relations, also type has to be route. A parent relation won't display child relations only ways, so the wikidata has to be on the children. I've tidied it up and can see it is working. Give it a couple of hours to sync up to Wiki. Regs, The Equalizer (talk) 22:51, 10 March 2025 (UTC)
Template not functioning in [[Bukit Dumbar]]
Maplink in Bukit Dumbar's infobox was OK a few days back, but became blank by yesterday. Q# was already linked from the start. I attempted a boundary fix in OSM a few hours ago. Not sure if anyone here could help on this? hundenvonPG (talk) 06:32, 21 March 2025 (UTC)
:The lag syncing the diffs from OSM to wikimaps seems really high but is within tolerance - may need to wait it out. The shape of the location seems to be in place otherwise. I updated the page to create a basic map until then. Regs, The Equalizer (talk) 11:01, 21 March 2025 (UTC)
::Thanks The Equalizer {{Smiley|smile}} hundenvonPG (talk) 04:34, 23 March 2025 (UTC)
Thumbnail rendering issue in [[José Salvador Alvarenga]]
Point 1 and most of the line not visible, something to do with the 180th meridian line. Same issue on the fr and zh pages. Also is there a way to make the 180 line not visible? Sohryu Asuka Langley Not Shikinami (talk) 05:28, 29 April 2025 (UTC)
:@Sohryu Asuka Langley Not Shikinami This is a bug. Only happens in "View mode". But I propose you to take some screenshot of OSM map, for this track, modify that and upload it using template OpenStreetMap in WikiCommons. Best regards. Hooman Mallahzadeh (talk) 06:19, 29 April 2025 (UTC)
How not dispay top right square for "Show in full screen"
Hi, is there anyway to avoid showing top right while square ([ ]) for "Show in full screen"? Sometime this square disrupts the map. Thanks, Hooman Mallahzadeh (talk) 13:41, 5 May 2025 (UTC)
:Don't think you can. Just increase the height of the frame to accommodate the map. Regs, The Equalizer (talk) 20:10, 7 May 2025 (UTC)
::@The Equalizer Implementation of "Hide" does not seem so hard. Just add an argument named "|hide square=yes" and then in the span of OSM map apply this style "display: none;".
::Hiding this square is very useful for many Wikipedia maps, especially for small ones. So it worths implementation. Thanks, Hooman Mallahzadeh (talk) 04:01, 8 May 2025 (UTC)
:::I thought the box is also a subtle hint that it's a clickthrough and scalable, not just a static picture. But propose the removal via Phab if desired. The Equalizer (talk) 18:34, 8 May 2025 (UTC)
::::@The Equalizer No need for request of Phabricator. We should set "display:none;" CSS property for ".mw-kartographer-fullScreen" class. I tested it successfully in the inspector view my inspector of my browser.
::::I think it can be implemented by modifying this template only.
::::Line 1108 add
displaysquare = util.getParameterValue(args, "displaySquare") or L10n.defaults.displaySquare,
::::and line 962 add
if options.displaySquare == "no" then
local whiteSquare = assert(document:getElementsByClassName("mw-kartographer-fullScreen"))
whiteSquare:css("display", "none")
Hooman Mallahzadeh (talk) 04:03, 9 May 2025 (UTC)
:I think this square is not required at all, therefore we can remove it as a default setting. Because there exists a tooltip for this purpose. Hooman Mallahzadeh (talk) 14:27, 9 May 2025 (UTC)