Module talk:Location map/Archive 11: Difference between revisions

Content deleted Content added
m Archiving 2 discussion(s) from Module talk:Location map) (bot
m Archiving 2 discussion(s) from Module talk:Location map) (bot
Line 180:
: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)
 
== Pyongyang Map ==
 
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]].
 
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)
 
== Bug when displaying several places? Cannot click ==
 
Hello, is this a bug?
 
In map 1, clicking on "Recanati" works fine, both on the name and on the red marker.
 
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.
 
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
 
 
{{Location map+ |Italy
| 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}}
 
{{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
| caption = test2 places in [[Italy]]
| width = 450
| relief =
| float = left
| places =
{{Location map~ |Italy
|lat_deg = 41.903
|lon_deg = 12.4525
|label_size = 80
|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)