Module talk:Location map: Difference between revisions

Content deleted Content added
m Archiving 2 discussion(s) to Module talk:Location map/Archive 11) (bot
 
(47 intermediate revisions by 20 users not shown)
Line 1:
{{Permanently protected}}
{{talk header|archive_age=365|archive_bot=lowercase sigmabot III}}
{{WikiProject banner shell|1=
{{WikiProject Maps|importance=top}}
Line 13:
{{Lua sidebar}}
 
== Urgent: Please fix this template for printed content [[Module:Location map/styles.css]]. ==
== Error in Myanmar map ==
 
<div lang="en" dir="ltr">
In [[Module:Location map/data/Myanmar]] the two maps there have different coordinates. The File:Myanmar relief ___location map.jpg mentioned in its description is 92-102 E. So if this file is shown, the coordinate marked is shifted left/right from the place it should be. I think the File:Myanmar adm ___location map.svg should be changed to File:Myanmar ___location map.svg and the coordinate should be adjusted accordingly. Not sure what would break if the map range is shrunk. --[[User:Lerdsuwa|Lerdsuwa]] ([[User talk:Lerdsuwa|talk]]) 02:18, 21 March 2022 (UTC)
Firstly, apologies for writing in English if this is not your first language (this is an automated message).
:I noticed the same thing. For instance [[Nat Ma Taung]] does not show up in the correct ___location. Can someone with the proper editing privileges and more technical know-how please fix this error? [[Special:Contributions/69.130.10.175|69.130.10.175]] ([[User talk:69.130.10.175|talk]]) 23:45, 8 February 2023 (UTC)
::{{done}} — [[User:Mugtheboss|Mugtheboss]] ([[User talk:Mugtheboss|talk]]) 22:57, 15 September 2023 (UTC)
 
This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is important this notice is acted on ASAP.
== A new idea to insert outer title in this template ==
 
To fix this:
Seen from [[Washington (state)]] I just got an idea to place an outer title for this template, which requires an optional parameter {{para|title}}. Once this parameter is used, the title is placed at the top of <code>&lt;div class="thumbinner"></code> element, and centered in there. (see [https://postimg.cc/jwdyf0Q9 this screenshot])
# Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
# Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen`
 
If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue.
Who can reproduce? -- [[User:Great Brightstar|Great Brightstar]] ([[User talk:Great Brightstar|talk]]) 07:33, 25 May 2023 (UTC)
 
For any questions feel free to ask them at [[phab:T369874]].
== How to show multiple maps ==
 
[[User:Jon (WMF)|Jon (WMF)]] ([[User talk:Jon (WMF)|talk]]) 18:22, 2 August 2024 (UTC) on behalf of the web team.
Does anybody know how to show multiple maps that can be selected as in the [[Jakarta]] article. Looking at the WML, there is no mention of the filenames used - just some strange hashtags. I tried searching on help, but as is well known, the pathetic inadequacies of that function mean it's almost impossible to find even simple information. Any help, or a pointer to the concealed help page, would be much appreciated. Thanks. <span style="text-shadow:grey 0.2em 0.2em 0.1em; class=texhtml"> [[User:Davidelit|Davidelit ]][[User talk:Davidelit|(Talk)]] </span> 04:17, 22 July 2023 (UTC)
 
</div>
:Under the "pushpin_map" argument present in most geographical infoboxes, you can utilise multiple maps by listing the names of said maps in ascending order, separating each with a hashtag. E.G. "Indonesia{{nbsp}}Java#Indonesia#Southeast Asia". You can find the names of the specific maps you would like to use by looking at the modules of said maps; the name is shown near the top of the module documentation.
:Hope this helps. — [[User:Mugtheboss|Mugtheboss]] ([[User talk:Mugtheboss|talk]]) 22:15, 15 September 2023 (UTC)
::As an extension to this, going through [[:Category:Location map modules by country]] is likely to be helpful towards your efforts in finding the modules you would like to use. — [[User:Mugtheboss|Mugtheboss]] ([[User talk:Mugtheboss|talk]]) 22:27, 15 September 2023 (UTC)
 
:Done. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 22:09, 3 August 2024 (UTC)
== Not centred on mobile ==
 
== Location Map with only part of a file ==
On mobile the image follows the float parameter. On narrow screens such as phones, this results in the article's text flowing to the side in a very narrow and hard to read column. In contrast, ordinary images generally are centred, and don't float, unless the screen is wide enough to justify floating. [[User:Hairy Dude|Hairy Dude]] ([[User talk:Hairy Dude|talk]]) 22:50, 3 September 2023 (UTC)
 
Hi, so is it possible with this template to like display for example the map of germany and cut the part that isn't of interest ?
== Pyongyang Map ==
For context I'm creating french pages for German Regionalligen and from 2012 til now it's fine since all 5 groups have ___location maps i can use, but for the period when it was divided into 3 groups there is no ___location map file for now and instead of creating new files (cuz i don't really know how to) i wondered if i can just used ___location map with the full germany map file, and then ask it to for example cut the south when showing regionalliga nord, then cut the north when showing regionalliga süd and then cut the east when showing regionalliga west.
If it's not possible then I'll go ask around on how to edit svg maps and create ___location maps ig [[User:TheÆtherPlayer|TheÆtherPlayer]] ([[User talk:TheÆtherPlayer|talk]]) 13:40, 7 October 2024 (UTC)
 
== Bad contrast ==
Hey, I see there's a [[Module:Location map/data/North Korea]], but it'd be nice to have one for Pyongyang more specifically. Similar to [[Module:Location map/data/South Korea Seoul]].
 
Hi. Look at this please: [https://s6.uupload.ir/files/screenshot_2025-02-27_170348_wc6e.png The entry]
Could anyone create this? Would be much appreciated; I'd make really good mileage out of it by making a bunch of infoboxes for pages with it. [[User:Toobigtokale|toobigtokale]] ([[User talk:Toobigtokale|talk]]) 09:46, 26 September 2023 (UTC)
 
And these are the provided links in the entry: [https://s6.uupload.ir/files/screenshot_20250224_153809_chrome_4ac6.jpg This], and [https://s6.uupload.ir/files/screenshot_20250224_154028_chrome_hydo.jpg this]. [[User:Aminabzz|Aminabzz]] ([[User talk:Aminabzz|talk]]) 13:42, 27 February 2025 (UTC)
== image2, image3… ==
{{Edit template-protected|answered=yes}}
 
== How do I set the Location map width to the reader's thumb size preference? ==
'''Description of suggested change:''' see below
 
From the documentation, it appears that the {{para|width}} of the ___location map image is specified in pixels, but per [[MOS:IMGSIZE]], {{tq|1=Except with very good reason, a fixed width in pixels (e.g. 17px) should not be specified, because it ignores the user's base width setting. Thus upright=scaling factor is preferred when it is desired to present an image at other than the default width.}} How do I set the ___location map size to match the reader's thumb size preference, as recommended by MOS? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 04:44, 12 March 2025 (UTC)
'''Diff:''' [[Special:Diff/1177292789]]
:The context of MOS:IMGSIZE is clearly about stand-alone images, not ones in infoboxes. To have uniformly formatted infoboxes should be the standard. -- '''[[User:P199|<span style="color: #199199;">P&nbsp;1&nbsp;9&nbsp;9</span>]]'''&nbsp;&nbsp;<big>[[User talk:P199|✉]]</big> 18:03, 14 March 2025 (UTC)
::I agree that a uniform image width should be the standard, which is why I am asking how to set a ___location map to match the reader's standard thumb size preference. [[MOS:IMGSIZE]] refers to the size of a "lead image". [[MOS:LEADIMAGE]], on the same page, explains the lead image like this: {{tq|It is common for an article's lead or infobox to carry a representative image}}. [[:Module:InfoboxImage]], which is commonly used to display lead images in infoboxes, has <code>frameless</code> and <code>upright</code> options, which allow lead images in infoboxes to comply with both [[MOS:IMGSIZE]] and with readers' preferences. So how do we follow this standard for ___location maps so that they match the infobox's lead image size? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 19:26, 14 March 2025 (UTC)
 
== Export ==
[[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 12:51, 23 October 2023 (UTC)
----
[[Module:Location map/data/Zimbabwe]] has three maps in its definition file, but only ''image'' and ''image1'' can be used with the help of {{para|relief}}: no value means ''image'' will be used, any value gives ''image1''. If one wants to use ''image2'', the full file name has to be given to {{para|AlternativeMap}}. However, {{para|relief|2}} could mean ''image2'', and I think that's what many would expect. I'm proposing this little change [[Special:Diff/1177292789]], which would leave everything as it is now, except when {{para|relief|2…99}}. {{ping|TheDJ|Legoktm|Elli|Frietjes}} I'm pinging you as the last four contributors, not sure how much this page is watched.
{|
|-
|{{#invoke:Location map/sandbox|main|Zimbabwe|lat=-21|long=27|width=130|caption=no relief par}}
|{{#invoke:Location map/sandbox|main|Zimbabwe|lat=-21|long=27|width=130|caption=relief{{=}}|relief= }}
|{{#invoke:Location map/sandbox|main|Zimbabwe|lat=-21|long=27|width=130|caption=relief{{=}}yeah|relief=yeah }}
|{{#invoke:Location map/sandbox|main|Zimbabwe|lat=-22.5|long=25.5|width=130|caption=relief{{=}}1|relief= 1 }}
|{{#invoke:Location map/sandbox|main|Zimbabwe|lat=-22.5|long=25.5|width=130|caption=relief{{=}}2|relief=2}}
|}
The same thing tested at test.wiki from {{tl|Location map}} template is here [[:testwiki:User:Ponor/sandbox/Location map]] [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 02:43, 27 September 2023 (UTC)
 
What's the best way to export the resulting map, please? Motivation: [[Template_talk:Location_map-line#Use_in_Wikidata]]. [[User:Fgnievinski|fgnievinski]] ([[User talk:Fgnievinski|talk]]) 14:06, 15 March 2025 (UTC)
:This seems like a reasonable change at first glance but I don't actively maintain this module (and didn't write this) so I'll hold off on implementing for a bit to see if anyone else comments. [[User:Elli|Elli]] ([[User_talk:Elli|talk]] &#124; [[Special:Contributions/Elli|contribs]]) 05:03, 27 September 2023 (UTC)
 
== Proposal: Add Custom Label Positioning in Module:Location map ==
Leaving a note here that [[Template:Location map many|Location map many]], [[Template:Location map+|Location map+]] and their modules need no changes in order for this to work (images from [[Module:Location map/data/Africa]]):
{|
|-
|{{Location map/sandbox | Africa | relief = y | width = 130 | caption = relief{{=}}1<br>[[Template:Location map|Location map]] | lat = -21 | long = 24 }}
|{{Location map many/sandbox | Africa | relief = 2 | width = 130 | caption = relief{{=}}2<br>[[Template:Location map many|Location map many]] | lat1 = -21 | long1 = 24 | lat2 = 20 | long2 = -3}}
|{{Location map+/sandbox | Africa | relief = 2 | width = 130 | caption = relief{{=}}2<br>[[Template:Location map+|Location map+]] | places = {{Location map~ | Africa | lat = -21 | long = 24 }} {{Location map~ | Africa | lat = 20 | long = -3 }} }}
|}
[[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 16:21, 30 September 2023 (UTC)
: {{done}} [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 00:08, 27 October 2023 (UTC)
 
I would like to propose an enhancement to <code>Module:Location map</code> that would allow for more precise label positioning. Currently, the module supports basic label positions (<code>top</code>, <code>bottom</code>, <code>left</code>, <code>right</code>), but does not include options for diagonal placements like <code>northeast</code>, <code>northwest</code>, <code>southeast</code>, or <code>southwest</code>.
== Bug when displaying several places? Cannot click ==
 
=== Suggested Changes: ===
Hello, is this a bug?
 
* Expand the {{para|position}} argument to recognize and support:
In map 1, clicking on "Recanati" works fine, both on the name and on the red marker.
** <code>northeast</code> (<code>ne</code>)
** <code>northwest</code> (<code>nw</code>)
** <code>southeast</code> (<code>se</code>)
** <code>southwest</code> (<code>sw</code>)
 
=== Benefits: ===
In map 2, it's impossible to click on "Recanati". I noticed that if I delete the "Siena" place, it kinda starts working but still a little buggy. There seems to be some kind of interaction that I fail to understand. In this map it happens with other places too, such as Milan.
 
* '''Greater Precision''': Labels can be positioned more naturally relative to markers, reducing overlap and improving clarity.
I noticed it happens frequently on other different maps. Is this a general problem of Location map? Or is it specific to some maps? Can anybody help or provide some insight? Thanks in advance
* '''Consistency''': Many mapping tools and templates already support compass-based positioning, making this a logical extension.
* '''Improved Readability''': This would allow editors to optimize label placement in cases where the default positions (<code>top</code>, <code>bottom</code>, <code>left</code>, <code>right</code>) do not work well.
 
=== Possible Implementation: ===
 
* Modify the {{para|position}} handling in <code>Module:Location map</code> to recognize the additional options and adjust label offsets accordingly.
{{Location map+ |Italy
* Use a simple logic-based adjustment to move the label diagonally when a compass-based position is selected.
| caption = test1 places in [[Italy]]
| width = 450
| relief =
| float = left
| places =
{{Location map~ |Italy
|lat_deg = 43.4
|lon_deg = 13.55
|label_size = 80
|label_width = 6em; border:1px solid blue;
|marksize = 9
|position = right
|label = [[Recanati]]
|link = Recanati}}
 
This enhancement would improve the flexibility and usability of ___location maps across Wikipedia. I welcome feedback and discussion on this proposal. [[User:Abhiramakella|Abhiramakella]] ([[User talk:Abhiramakella|talk]]) 23:42, 2 April 2025 (UTC)
{{Location map~ |Italy
|lat_deg = 41.8986
|lon_deg = 12.4768
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Rome]]
|link = Rome}}
}}
 
:I would find this very helpful, particularly for locations that are very close to each other that the editor wishes to label. I would suggest alternatively that every label could have a certain "offset" parameter, in pixels, on top of the existing position parameter. This would specify the offset from a default position so editors could adjust the label to be anywhere they wish on the map. [[User:LivinAWestLife|LivinAWestLife]] ([[User talk:LivinAWestLife|talk]]) 18:41, 8 August 2025 (UTC)
{{Location map+ |Italy
{{outdent}}
| caption = test2 places in [[Italy]]
@[[User:LivinAWestLife|LivinAWestLife]]: Adding some vertical offset to left- and right-positioned labels isn't too hard ([[Special:Diff/1305013356/1305042106]]). I don't think we need it for top- and bottom-positioned ones, and I'd advise against adding any left-right offset to those, as people tend to fine tune the absolute positions to what looks good on their screens, disregarding many other different devices and font sizes.
| width = 450
The new parameter is <code>top_offset</code>, available in <syntaxhighlight inline lang="wikitext">{{Location map/sandbox |top_offset=}}</syntaxhighlight>
| relief =
{|
| float = left
!current!!top_offset=0!!SW: top_ofset=−1!!NW: top_offset=+1
| places =
|-
{{Location map~ |Italy
|{{Location map|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=left|width=180|float=none|caption=}}
|lat_deg = 41.903
|{{Location map/sandbox|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=left|width=180|float=none|caption=}}
|lon_deg = 12.4525
|{{Location map/sandbox|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=left|width=180|float=none|caption=|top_offset=-1}}
|label_size = 80
|{{Location map/sandbox|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=left|width=180|float=none|caption=|marksize=13|label_size=110|top_offset=1}}
|label_width = 50
|marksize = 9
|position = left
|label = [[Vatican City]]
|link = Vatican City}}
 
{{Location map~ |Italy
|lat_deg = 45.486
|lon_deg = 9.179
|label_size = 80
|label_width = 50
|marksize = 9
|position = left
|label = [[Milan]]
|link = Milan}}
 
{{Location map~ |Italy
|lat_deg = 44.496
|lon_deg = 11.309
|label_size = 80
|label_width = 50
|marksize = 9
|position = bottom
|label = [[Bologna]]
|link = Bologna}}
 
{{Location map~ |Italy
|lat_deg = 45.438
|lon_deg = 12.336
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Venice]]
|link = Venice}}
 
{{Location map~ |Italy
|lat_deg = 43.768
|lon_deg = 11.2627
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Florence]]
|link = Florence}}
 
{{Location map~ |Italy
|lat_deg = 37.503
|lon_deg = 15.088
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Catania]]
|link = Catania}}
 
{{Location map~ |Italy
|lat_deg = 40.844
|lon_deg = 14.0933
|label_size = 80
|label_width = 50
|marksize = 9
|position = left
|label = [[Pozzuoli]]
|link = Pozzuoli}}
 
{{Location map~ |Italy
|lat_deg = 40.833
|lon_deg = 14.25
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Naples]]
|link = Naples}}
 
{{Location map~ |Italy
|lat_deg = 43.845
|lon_deg = 10.511
|label_size = 80
|label_width = 50
|marksize = 9
|position = top
|label = [[Lucca]]
|link = Lucca}}
 
{{Location map~ |Italy
|lat_deg = 43.843
|lon_deg = 13.11667
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Maiolati Spontini]]
|link = Maiolati Spontini}}
 
{{Location map~ |Italy
|lat_deg = 45.415
|lon_deg = 11.849
|label_size = 80
|label_width = 50
|marksize = 9
|position = left
|label = [[Padua]]
|link = Padua}}
 
{{Location map~ |Italy
|lat_deg = 43.9167
|lon_deg = 12.9
|label_size = 80
|label_width = 50
|marksize = 9
|position = top
|label = [[Pesaro]]
|link = Pesaro}}
 
{{Location map~ |Italy
|lat_deg = 43.4
|lon_deg = 13.55
|label_size = 80
|label_width = 50em; border:1px solid blue;
|marksize = 9
|position = right
|label = [[Recanati]]
|link = Recanati}}
 
{{Location map~ |Italy
|lat_deg = 46.5
|lon_deg = 11.35
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Bolzano]]
|link = Bolzano}}
 
{{Location map~ |Italy
|lat_deg = 45.137
|lon_deg = 12.0825
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Cavarzere]]
|link = Cavarzere}}
 
{{Location map~ |Italy
|lat_deg = 43.314
|lon_deg = 11.321
|label_size = 80
|label_width = 50em; border:1px solid green;
|marksize = 9
|position = right
|label = [[Siena]]
|link = Siena}}
 
{{Location map~ |Italy
|lat_deg = 41.8986
|lon_deg = 12.4768
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Rome]]
|link = Rome}}
 
{{Location map~ |Italy
|lat_deg = 43.531
|lon_deg = 10.322
|label_size = 80
|label_width = 50em; border:1px solid red;
|marksize = 9
|position = right
|label = [[Livorno]]
|link = Livorno}}
 
{{Location map~ |Italy
|lat_deg = 44.801
|lon_deg = 10.328
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Parma]]
|link = Parma}}
 
{{Location map~ |Italy
|lat_deg = 45.711
|lon_deg = 9.7358
|label_size = 80
|label_width = 50
|marksize = 9
|position = top
|label = [[Scanzorosciate]]
|link = Scanzorosciate}}
 
{{Location map~ |Italy
|lat_deg = 44.55
|lon_deg = 10.9333
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Castelnuovo Rangone]]
|link = Castelnuovo Rangone}}
 
{{Location map~ |Italy
|lat_deg = 44.6167
|lon_deg = 10.2667
|label_size = 80
|label_width = 50
|marksize = 9
|position = left
|label = [[Langhirano]]
|link = Langhirano}}
 
{{Location map~ |Italy
|lat_deg = 44.660
|lon_deg = 10.909
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Modena]]
|link = Modena}}
 
{{Location map~ |Italy
|lat_deg = 45.75
|lon_deg = 9.3667
|label_size = 80
|label_width = 50
|marksize = 9
|position = left
|label = [[Santa Maria Hoè]]
|link = Santa Maria Hoè}}
 
{{Location map~ |Italy
|lat_deg = 45.0798
|lon_deg = 7.707
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Turin]]
|link = Turin}}
 
{{Location map~ |Italy
|lat_deg = 44.8976
|lon_deg = 8.865
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Tortona]]
|link = Tortona}}
 
{{Location map~ |Italy
|lat_deg = 40.753
|lon_deg = 13.8725
|label_size = 80
|label_width = 50
|marksize = 9
|position = bottom
|label = [[Ischia]]
|link = Ischia}}
 
{{Location map~ |Italy
|lat_deg = 45.5167
|lon_deg = 9.75
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Romano di Lombardia]]
|link = Romano di Lombardia}}
 
{{Location map~ |Italy
|lat_deg = 45.703
|lon_deg = 9.662
|label_size = 80
|label_width = 50
|marksize = 9
|position = right
|label = [[Bergamo]]
|link = Bergamo}}
 
{{Location map~ |Italy
|lat_deg = 43.828
|lon_deg = 10.289
|label_size = 80
|label_width = 50
|marksize = 9
|position = left
|label = [[Torre del Lago]]
|link = Torre del Lago}}
}} [[User:Gor1995|Gor1995]] ([[User talk:Gor1995|talk]]) 14:23, 2 October 2023 (UTC)
{{-}}
I used a little trick on your second map to show you what label_width of 50 means: Livorno and Siena boxes are completely covering Recanati. For most of those labels 6 would suffice, as shown of your first map. [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 00:31, 3 October 2023 (UTC)
 
:Huh, I just realized I had no idea how the label_width parameter worked :/
:Thanks so much for your help!! You're very kind [[User:Gor1995|Gor1995]] ([[User talk:Gor1995|talk]]) 07:59, 3 October 2023 (UTC)
 
== Two suggestions: default map image linking and VDE links ==
 
First I'd like to suggest including some version of {{t|navbar}} on each ___location map template (pointing to that map instead of Location map+ itself). I was experimenting with adding it on {{t|Oceans and seas in Southeast Asia}} and found it to be helpful and unintrusive with the right formatting parameters, but didn't save the edit because I thought it would be better to have this be standardised between all of the ___location maps using this template. This could have parameters to turn it off or to override whatever default formatting of navbar we picked so that the user could still format the final result as if inserting that template on the caption manually.
 
Secondly: We can turn off linking to the default background image with the maplink= parameter on Location map+. However, the vast majority of uses of this template on the wiki have links, and the background image link is very easy to click on by accident. Many, many of these templates are almost unusable because of their tiny links next to a clickable background. Even the example map on the template documentation suffers from a clickable background instead of maplink= despite being full of links. Proposing that the current behavior of maplink= is made the default for that template, and for some other parameter value to produce the current default. [[User:YuriNikolai|YuriNikolai]] ([[User talk:YuriNikolai|talk]]) 19:36, 7 October 2023 (UTC)
 
== Markers ==
 
Whats configuration to put more than 1 marker, for example 10 markers in same map. [[User:Joaosilva2000|Joaosilva2000]] ([[User talk:Joaosilva2000|talk]]) 08:11, 12 October 2023 (UTC)
: [[User:Joaosilva2000|Joaosilva2000]], see [[Template:Location map many]] or [[Template:Location map~]]. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 20:03, 12 October 2023 (UTC)
::The [[Template:Location map many]] its like plural version of [[Template:Location map]] right? [[User:Joaosilva2000|Joaosilva2000]] ([[User talk:Joaosilva2000|talk]]) 03:29, 14 October 2023 (UTC)
 
== Template contains script error ==
 
The resecently add line
local digits = mw.ustring.match(args.relief,'^[1-9][0-9]?$') or '1' -- image1 to image99
is throwing a script error because args.relief is a boolean not a string. [[User:Phatom87|Phatom87]] <sup>([[User talk:Phatom87|talk]] <small>•</small> [[Special:Contributions/Phatom87|contribs]])</sup> 00:16, 31 October 2023 (UTC)
: Example? Frame arguments should always be strings, even if the module interprets them as booleans. I'm sure if my code were really broken it would have taken less than a month for someone to notice. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 00:50, 31 October 2023 (UTC)
::The documentation explains that {{para|relief}} takes any non-blank value and has special behavior when the value is a number like "2" or "3". {{U|Phatom87}}: A link to a page where something is broken is always helpful when reporting a problem. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:47, 31 October 2023 (UTC)
:::Didn't realize this was sourced to multiple pages anyway [[Template:Russo-Ukrainian_War_detailed_relief_map]] is the problem page, [[User:Phatom87|Phatom87]] <sup>([[User talk:Phatom87|talk]] <small>•</small> [[Special:Contributions/Phatom87|contribs]])</sup> 00:33, 4 November 2023 (UTC)
:::: Yeah, that module is doing something strange. I've fixed it. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 00:36, 4 November 2023 (UTC)
 
== Three-state caption parameter ==
 
The module has different outputs depending on whether {{para|caption}} has a value, is empty, or absent from the call of {{tl|Location map}}. It also messes up with the border. Can't say I understand why such a design decision was made, instead of using specific params that do only and exactly what they're supposed to. Anyway... I am here to ask what to do when {{tl|Location map}} is used in a template, an infobox, which has a variable/parameter {{param|pushpin_map_caption}}. What would you use in the templates code so that {{param|pushpin_map_caption}} translates into what {{para|caption}} does: when {{param|pushpin_map_caption}} has value or is empty, use that value; but when {{param|pushpin_map_caption}} is absent from the template call in an article, make the module see it as nonexistent and provide the default caption. In other words, I need a replacement for <code><nowiki>|caption = {{{pushpin_map_caption|}}}}</nowiki></code> in the template code that will make {{para|caption}} disappear from the call of {{tl|Location map}} in the infobox code when {{param|pushpin_map_caption}} is absent from the call to the infobox in the article. Thanks! [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 14:01, 23 November 2023 (UTC)
 
== Possible problem with Eurasia map ==
 
Please see [https://en.wikipedia.org/w/index.php?title=User:Jonesey95/sandbox&oldid=1188615840 this version of my sandbox] for an illustration of a problem with locating [[Tehran]] on the map of Eurasia. The dot is located somewhere west of Egypt but should be considerably northeast of there, at the south end of the [[Caspian Sea]]. This problem is happening in the infobox at [[Tehran]] as well. The coordinates appear to be correct. The other three maps in that infobox display the dot correctly. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 15:35, 6 December 2023 (UTC)
:This map appears to be broken at [[Kuwait International Airport]] as well. I suspect a problem with the relatively new, undocumented [[Module:Location map/data/Eurasia]], created by {{U|पाटलिपुत्र}}. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 15:38, 6 December 2023 (UTC)
::{{ping|User:Jonesey95}}Yes, it wasn't calibrated. Should be better now. Please advise if there are issues. <span style=" 0.2em 0.2em 0.1em; class=texhtml">[[User:पाटलिपुत्र|<span style="color:green">पाटलिपुत्र</span>]][[User:पाटलिपुत्र|<span style="color:blue"> (Pataliputra)</span>]]</span> [[User talk:पाटलिपुत्र|'''(talk)''']] 15:53, 6 December 2023 (UTC)
:::That looks much better. Thanks for the quick fix. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 16:48, 6 December 2023 (UTC)
 
== Edit request 31 December 2023 ==
 
{{Edit template-protected|answered=yes}}
 
[[File:Location map pin background fix.png|thumb|Preview of the changes on the Android app.]]
 
Currently, an unsightly black box appears behind the red dot of the ___location map on the Android app whenever the map is inside of an infobox (such as in [[Plymouth Rock]]). This is because of styles specific to the [[mw:Page Content Service]] (PCS), which serves our content on the apps. Specifically, the <code><nowiki><div></nowiki></code> tags which wrap the dot inherit the background color from elements up in the tree, which happens to have their backgrounds set to dark/black when the reader requests it and when an infobox wraps the ___location map. There's a [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/mobileapps/+/refs/heads/master/pagelib/docs/pcs/pcs.md#themes very obscurely-placed way to disable this] ([[phab:T236137]]) that's officially supported, which is adding the "notheme" class to any element that shouldn't be styled by PCS. By adding the class to the outer div (div with class <code>od</code>), it suppresses the background color from being set to it and its children divs (which explicitly inherits the infobox's cell background color by default).
 
This change is visible only for the app view ''on dark/black mode''. You will have to open [[Special:PermanentLink/1192790784]] on the Wikipedia apps with dark/black mode enabled or view the Mobile HTML directly in your browser ([https://en.wikipedia.org/api/rest_v1/page/mobile-html/User:Chlod%2Fsandbox/1192790784?theme=black preview]) to see the difference.
 
'''Diff:''' (active in the [[Module:Location map/sandbox|sandbox]], [https://en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Module%3ALocation+map&page2=Module%3ALocation+map%2Fsandbox diff])
{| class="wikitable"
! Old
! New
|-
!current!!top_offset=0!!NE: top_ofset=−0.8!!SE: top_offset=+0.6
|<syntaxhighlight lang="lua" line="1" start="295">
|-
:addClass('od')
|{{Location map|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=right|width=180|float=none|caption=}}
:cssText('top:' .. round(y, 3) .. '%;left:' .. round(x, 3) .. '%')
|{{Location map/sandbox|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=right|width=180|float=none|caption=}}
</syntaxhighlight>
|{{Location map/sandbox|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=right|width=180|float=none|caption=|top_offset=-0.8}}
|<syntaxhighlight lang="lua" line="1" start="295">
|{{Location map/sandbox|Croatia Dalmatia|label=[[Vela Luka]]|lat=43|long=16.7|position=right|width=180|float=none|caption=|marksize=13|label_size=110|top_offset=0.6|label_width=4}}
:addClass('od')
|}
:addClass('notheme') -- T236137
Let me know what you think! [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 18:51, 9 August 2025 (UTC)
:cssText('top:' .. round(y, 3) .. '%;left:' .. round(x, 3) .. '%')
</syntaxhighlight>
|} <span style="background:#ffff55">'''''[[User:Chlod|Chlod]]'''''</span>&nbsp;<small style="font-size:calc(1em - 2pt)">([[User talk:Chlod|say&nbsp;hi!]])</small> 10:50, 31 December 2023 (UTC)
:{{re|Chlod}} {{done}}, good job! [[User:Est. 2021|Est. 2021]] ([[User talk:Est. 2021|talk]] <b>·</b> [[Special:Contribs/Est. 2021|contribs]]) 15:37, 31 December 2023 (UTC)
::Thank you! Hope you have a happy 2024, Est. 2021! :D <span style="background:#ffff55">'''''[[User:Chlod|Chlod]]'''''</span>&nbsp;<small style="font-size:calc(1em - 2pt)">([[User talk:Chlod|say&nbsp;hi!]])</small> 15:47, 31 December 2023 (UTC)
 
== "Show both" instead of "Show all" when there's two maps ==
 
I think it would be a nice detail and more grammatically correct when there's two maps that can be flipped between, instead of an option that says "Show all" it should say "Show both". [[User:Akeosnhaoe|Akeosnhaoe]] ([[User talk:Akeosnhaoe|talk]]) 08:50, 24 January 2024 (UTC)
 
:@[[User:Akeosnhaoe]] I have been termed "Grammar police" (a label I do NOT disdain), as well as "Grammar ... (something beginning with N)." My thought on this is, why unnecessarily complicate things for a nicety of usage? [[User:AzseicsoK|Uporządnicki]] ([[User talk:AzseicsoK|talk]]) 22:24, 18 February 2024 (UTC)
::By the way, "... when there's two maps." That is to say, "... when there IS two maps." Last time I checked, there ISN'T two of anything in the world or out of it. [[User:AzseicsoK|Uporządnicki]] ([[User talk:AzseicsoK|talk]]) 22:29, 18 February 2024 (UTC)
:::I will not engage with you. [[User:Akeosnhaoe|Akeosnhaoe]] ([[User talk:Akeosnhaoe|talk]]) 23:36, 18 February 2024 (UTC)
 
== Aligning caption parameter center ==
 
Can the caption parameter be aligned center? See [[ATP Masters 1000 tournaments#Tournaments|example]]. [[User:Qwerty284651|Qwerty284651]] ([[User talk:Qwerty284651|talk]]) 13:19, 10 February 2024 (UTC)
:[https://en.wikipedia.org/w/index.php?title=ATP_Masters_1000_tournaments&diff=1206261236&oldid=1206068877 Yes]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:30, 11 February 2024 (UTC)
::That simple, huh? I went to <code><nowiki><div style="text-align:center"> map code </div></nowiki></code> lengths and all it took was a little {{tl|center}}. Funny how the simplest solutions are the hardest to find. [[User:Qwerty284651|Qwerty284651]] ([[User talk:Qwerty284651|talk]]) 18:59, 11 February 2024 (UTC)
 
== Center aligned label? ==
 
Hi, I've searched the talk page archives for this, but I couldn't find a solution. Is it possible to place a label exactly over the point where the mark would be? I'm trying to make a label map of Afghan provinces [[User:RAGentry/sandbox|here]] on my sandbox, but it seems that the label will always be off-center, even if you move the "positon" parameter to "top" or "bottom". It would be useful if "center" were an option for this parameter. I'm trying to see if ___location maps could be used to make something like image-label maps such as at [[:Template:Bulgaria Provinces]], which would be much easier considering it uses coordinates instead of pixels of the image. &mdash; [[User:RAGentry|<span style="color:#00afaa">'''RAGentry'''</span>]] [[User talk:RAGentry|<span style="color:#f5246c">'''(talk)'''</span>]] [[Special:Contributions/RAGentry|<span style="color:#f98137">'''(contributions)'''</span>]] 22:17, 18 February 2024 (UTC)
 
:{{re|RAGentry}} Sadly there doesn't seem to be a convenient way to do this currently. I guess until that "center" option is implemented, the best workaround would be to add/subtract a standard latitude from the position. If you were working with modules, such action could be automated as in [[Module:Russo-Ukrainian War detailed map (oblasts)]]. [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>&#91;''[[WP:PING|ping&nbsp;me]]''&#93;</sup> 17:56, 27 April 2024 (UTC)
 
== Apparent ___location mismatch with Google Maps ==
 
I'm probably doing something stupid here, but I don't see it. Can someone please rub my nose in it? See [https://www.google.com/maps/place/Taam+Ja%E2%80%99+Blue+Hole/@18.0477806,-88.635012,8.56z/data=!4m6!3m5!1s0x8f5b07df75995341:0x7b1a2effc4cac2d7!8m2!3d18.6219303!4d-88.1486287!16s%2Fg%2F11tt34zhwr?entry=ttu this] v. the map below.
{{Location map|Belize
|width =
|float =
|border =
|caption =
|alt =
|relief =
|AlternativeMap=
|overlay_image =
|label =
|label_size =
|position =
|background =
|mark =
|marksize =
|link =
|lat_deg = 18.0477806
|lon_deg = -88.635012
}}
[[User:Wtmitchell|Wtmitchell]] [[User talk:Wtmitchell|(talk)]] <small>(earlier ''Boracay Bill'')</small> 04:29, 30 March 2024 (UTC)
 
:@[[User:Wtmitchell|Wtmitchell]]: Google shows you the right ___location because you're searching by name, but the coords are more like 18.62 and -88.15 (pin dropped near the ___location in Google maps). [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 09:58, 30 March 2024 (UTC)
::Thanks. Some fiddling there got me [https://www.google.com/maps/place/Taam+Ja%E2%80%99+Blue+Hole/@18.6210987,-88.1497344,1007m/data=!3m1!1e3!4m6!3m5!1s0x8f5b07df75995341:0x7b1a2effc4cac2d7!8m2!3d18.6219303!4d-88.1486287!16s%2Fg%2F11tt34zhwr?entry=ttu this]; I couldn't find its lat/lon ___location in any google search results. Cheers. [[User:Wtmitchell|Wtmitchell]] [[User talk:Wtmitchell|(talk)]] <small>(earlier ''Boracay Bill'')</small> 22:26, 30 March 2024 (UTC)
 
== Caps fix ==
{{Edit template-protected|answered=yes}}
Can someone please make a change so the text displayed is "Location map", not "Location Map"?
 
Thanks. [[User:HandsomeFella|HandsomeFella]] ([[User talk:HandsomeFella|talk]]) 21:24, 8 April 2024 (UTC)
 
:{{to|HandsomeFella}} please show an example of where you see "Map" with "M" in uppercase styling. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I.&nbsp;Ellsworth</span>]]'''''&thinsp;,&nbsp;[[Editor|<span style="color:black">ed.</span>]]&nbsp;[[User talk:Paine Ellsworth|<sup>put'er&nbsp;there</sup>]]&nbsp;<small>15:37, 10 April 2024 (UTC)</small>
::I am deactivating this request until there is a clear change request. The phrase "Location Map" does not appear in the module's code. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 21:30, 10 April 2024 (UTC)
::Found the place: [[2024 Masters Tournament]]. [[User:HandsomeFella|HandsomeFella]] ([[User talk:HandsomeFella|talk]]) 11:22, 15 April 2024 (UTC)
:::Fixed [[Special:Diff/1219041151|'''here''']]. [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 11:36, 15 April 2024 (UTC)
::::Thanks. [[User:HandsomeFella|HandsomeFella]] ([[User talk:HandsomeFella|talk]]) 12:59, 15 April 2024 (UTC)
 
== Edit request 27 April 2024 ==
 
{{Edit template-protected|answered=yes}}
 
I found a subtle bug in the way the markers/labels are created. If a marker has a link, the anchor tag seems to inherit the font size from the user skin, not from the label_size. This is problematic for small markers, especially clustered ones. The anchor tag bounding box may be taller than the marker and label themselves, thus it may obstruct other marker/label links behind it. You can compare the difference between these 2 map versions: [https://en.wikipedia.org/w/index.php?title=Template:Russo-Ukrainian_War_detailed_map&oldid=1219979389 without fix] vs [https://en.wikipedia.org/w/index.php?title=Template:Russo-Ukrainian_War_detailed_map&oldid=1220996383 fixed]. Look for the Orlivka red marker which is vertically sandwiched by two villages. They are NW of Avdiivka which is NW of Donetsk. In the old version, the Orlivka marker link is barely clickable as Tonenke and Semenivka obstruct it. In the new version, the anchor follows the marker shape.
 
The proposed fix is written [https://en.wikipedia.org/w/index.php?title=Module:Location_map/sandbox&diff=prev&oldid=1220995695 in the sandbox]. It simply moves the css font-size definition from the label div to the outer div which also includes the marker div. Perhaps the only downside would be if the label_size was much bigger than the marksize, causing even more obstruction. Maybe forcing the font-size of the marker to be very small could help? What do you think? [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>&#91;''[[WP:PING|ping&nbsp;me]]''&#93;</sup> 06:43, 27 April 2024 (UTC)
: {{done}} [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 00:15, 30 April 2024 (UTC)
== Is it currently possible to prevent markers from showing over the caption? ==
 
If one recycles markers from a larger map into a more localized map, some markers may appear all over the caption, i.e. [[Template:Russo-Ukrainian War detailed map (oblasts)]]. [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>&#91;''[[WP:PING|ping&nbsp;me]]''&#93;</sup> 18:04, 27 April 2024 (UTC)
 
== Edit request 27 April 2024 ==
 
{{Edit template-protected|Module:Location map/multi|answered=yes}}
 
:Hi, this looks like it would be very useful, thank you! I hope implementing it wasn't very hard. I can understand why you wouldn't want to be able to fine tuning the absolute positions if it makes the display worse on certain screens. I will try it out now. [[User:LivinAWestLife|LivinAWestLife]] ([[User talk:LivinAWestLife|talk]]) 19:37, 9 August 2025 (UTC)
I've made [https://en.wikipedia.org/w/index.php?title=Module:Location_map/multi/sandbox&diff=prev&oldid=1221106180 another bugfix], but this time for Module:Location map/multi. The problem was pretty simple: when using the <code>load</code> function for multi map templates, the radio buttons wouldn't show up despite the individual maps being correctly wrapped in <code><nowiki><div class="switcher-container"></nowiki></code>. This was because the <code>autoSwitcherLabel</code> option was being set on <code>args</code>, which isn't passed to <code>locmap.bottom</code> (<code>dataModule.containerArgs</code> is instead). Effectively, it wasn't being read. If <code>containerArgs</code> wasn't ''read-only'', then the new flag could be set directly. Therefore, I believe the neatest way to pass this flag to <code>locmap.bottom</code> is to make a shallow copy of <code>containerArgs</code>, modify it, and then pass it instead. [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>&#91;''[[WP:PING|ping&nbsp;me]]''&#93;</sup> 23:27, 27 April 2024 (UTC)
: {{done}} [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 00:15, 30 April 2024 (UTC)
::{{ping|Pppery}} The change you made [https://en.wikipedia.org/w/index.php?title=Module:Location_map/multi&diff=prev&oldid=1221445143] includes the base Location map sandbox suffix require 😅. [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>&#91;''[[WP:PING|ping&nbsp;me]]''&#93;</sup> 01:21, 30 April 2024 (UTC)
::: Fixed. Sorry, I really should know better given I'm the guy systematically removing inappropriate sandbox uses. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 01:23, 30 April 2024 (UTC)
 
== Automatic color mode bug ==
== Linter errors with <code>span</code> ==
 
I'm seeing a bug with text background color for annotations on ___location maps in articles, but not in the docs. Both logged-in and -out. E.g. screenshot at [[phab:F59386868]] of the random article [[Fechenheim]] (and same elsewhere). But the examples in [[Template:Location_map]] all work properly(!?). I'm not sure where the bug is coming from, whether it's in [[Module:Location map/styles.css]] or elsewhere. I hope those clues help! [[User:Quiddity|Quiddity]] ([[User talk:Quiddity|talk]]) 02:12, 25 April 2025 (UTC)
{{ping|Jonesey95}} In your recent revert in the sandbox, do you mean if a user passes a label like this: <code><nowiki>label=<div style="color:green">New York</div></nowiki></code> (when using module syntax)? [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) 16:23, 20 May 2024 (UTC)
:Yes. A span tag cannot wrap a div tag. Many real-world examples appear in [https://en.wikipedia.org/w/index.php?search=hastemplate%3A%22Location+map%22+insource%3A%2Flabel%5C%3D%5C%3Cdiv%2F&title=Special:Search&profile=advanced&fulltext=1&ns0=1&ns4=1&ns10=1&ns12=1 these search results]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 20:23, 20 May 2024 (UTC)
::👍 [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) 20:44, 20 May 2024 (UTC)
 
== Changing template name to "Template:Pushpin Location map" ==
== Map label background bug in dark mode ==
 
Hi, just like [[Template:OSM Location map]], I think it is better to mention the type of Location map, which is in this case is pushpin. So I propose to move this article to [[Template:Pushpin Location map]]. Thanks, [[User:Hooman Mallahzadeh|Hooman Mallahzadeh]] ([[User talk:Hooman Mallahzadeh|talk]]) 03:02, 1 May 2025 (UTC)
The map labels in dark mode have a black background and black text. The background should either be transparent on maps where the label text colour has sufficient contrast with the background or white so the black text has sufficient contrast. Here are three examples from [[Moulins, Allier]], and [[Con Mine]].
:The pushpin (pog) is just the default marker. Templates like {{tl|Infobox airport}} use a different image file to show locations. There is a whole family of ___location maps, not just this module and template; I might support a name change if their name was something like "LM", but "Location map" is reasonably descriptive. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 15:16, 1 May 2025 (UTC)
[[File:Con Min map label bug.png|thumb]]
[[File:Con mine screenshot.png|thumb]]
[[File:Screen_shot_of_moulins,_allier_wiki_page_in_dark_mode.png|thumb]] [[User:JScherer-WMF|JScherer-WMF]] ([[User talk:JScherer-WMF|talk]]) 21:18, 29 May 2024 (UTC)
 
== Edit request 13 May 2025 ==
:In case this helps debugging: I noticed that the maps in [[Grand Canyon]] use the same template but do not have the bug. [[User:JScherer-WMF|JScherer-WMF]] ([[User talk:JScherer-WMF|talk]]) 16:55, 30 May 2024 (UTC)
::Hey @[[User:JScherer-WMF|JScherer-WMF]] this should be fixed now with the recent additions to [[Module:Location_map/styles.css]]. <span style="background:white; color: black;">🐸</span>&nbsp;[[User:Jdlrobson|Jdlrobson]] ([[User talk:Jdlrobson|talk]]) 04:35, 31 May 2024 (UTC)
:::I think these changes got broken again. See [[Caen]] [[User:Kabelsalat22|Kabelsalat22]] ([[User talk:Kabelsalat22|talk]]) 19:23, 13 June 2024 (UTC)
 
{{edit template-protected|Module:Location map/styles.css|answered=yes}}
== Still not showing up ==
'''Description of suggested change:'''
the whole map section, including the caption, gets affected by the grayscaling effect on lines [[module:___location map/styles.css#L-66|66]] and [[module:___location map/styles.css#L-79|79]] in [[module:___location map/styles.css|styles.css]], which causes some weird coloring (see [https://ibb.co/LXYjbtkm])
 
'''Diff:'''
Hi! I tried using a map with like 27 locations on it, I followed it and it's still not showing up! help me! [[User:45BearsFan|45BearsFan]] ([[User talk:45BearsFan|talk]]) 03:43, 28 June 2024 (UTC)
{{TextDiff| html.skin-theme-clientpref-night .locmap {
filter: grayscale(0.6);
} | html.skin-theme-clientpref-night .locmap img {
filter: grayscale(0.6);
} }} [[User:Əkrəm|<span style="padding: 4px 6px; background-color: black; color: white; font-weight: bold">əkrəm<span style="color: #ABABAB">.</span></span>]] 18:06, 13 May 2025 (UTC)
:{{done}}<!-- Template:ETp --> [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 23:48, 23 May 2025 (UTC)
 
==Discussion at [[:Template talk:Wikidata ___location map#fallback default map vs. mapframe|Template talk:Wikidata ___location map §&nbsp;fallback default map vs. mapframe]]==
:@[[User:45BearsFan|45BearsFan]] there was a <code>}}</code> missing at the end of your call to {{tl|Location map+}}. [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 13:00, 28 June 2024 (UTC)
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]]&nbsp;You are invited to join the discussion at [[:Template talk:Wikidata ___location map#fallback default map vs. mapframe|Template talk:Wikidata ___location map §&nbsp;fallback default map vs. mapframe]]. &#x0020;-- [[User:Joy|Joy]] ([[User talk:Joy|talk]]) 15:26, 16 August 2025 (UTC)<!-- [[Template:Please see]] -->
::Now that I got the easy part out of the way. The dots aren't showing up in their places. [[User:45BearsFan|45BearsFan]] ([[User talk:45BearsFan|talk]]) 14:13, 28 June 2024 (UTC)
:::[[Special:Permalink/1231480913]] [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 14:31, 28 June 2024 (UTC)