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

Content deleted Content added
m Archiving 1 discussion(s) from Module talk:Location map) (bot
m Archiving 1 discussion(s) from Module talk:Location map) (bot
Line 209:
[[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 16:40, 8 May 2016 (UTC)
: see [[Wikipedia:Templates_for_discussion/Log/2016_May_8#Template:Location_map_Switzerland_relief|related tfd]]. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 15:44, 10 May 2016 (UTC)
 
== Links being suppressed in ___location map ==
 
I have hit a snag using [[Template:Location map~]] and I hope someone can help. I have set up a demonstration of the problem at [//en.wikipedia.org/w/index.php?title=User:Thincat/sandbox2&oldid=721521585 User:Thincat/sandbox2]. Both points have link= specified and their labels include links. As things stand clicking either the blob or the annotation for 120 links correctly. For 88 the label links OK but double clicking the blob merely leads to the 120 label becoming highlighted. I use Firefox but it seems the same with other browsers. If I keep the 88 label at "top", moving the 120 label anywhere other than right clears the fault with 88. Keeping the 120 label at "right" the fault occurs wherever the 88 label is but if it is at the left neither 88's blob nor label are clickable. This was going wrong before I made the labels include links. I think the problem is on the lines of if you have two blobs fairly near and side by side, the label on the leftward blob seems to have an extended scope to the right, extended way beyond the text. However, sometimes everything is OK even with much closer items. I have got a fairly good workround by using labels for links and positioning the label for one blob so it doesn't "hide" a nearby label but occasionally I haven't avoided "hiding" a blob. See [[The Outlying Fells of Lakeland#Map]]. [[User:Thincat|Thincat]] ([[User talk:Thincat|talk]]) 18:34, 22 May 2016 (UTC)
: strange, ... swapping the order of the labels in your sandbox fixed the links for me. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 19:18, 22 May 2016 (UTC)
::Good grief! All sorts of ideas have occurred to me but that wasn't one of them. [[User:Thincat|Thincat]] ([[User talk:Thincat|talk]]) 19:44, 22 May 2016 (UTC)
::I wonder, in my analysis above, whether when I said "leftward" I should have said "later defined". On the main map the points are defined clockwise starting at 4 o' clock. [[User:Thincat|Thincat]] ([[User talk:Thincat|talk]]) 19:54, 22 May 2016 (UTC)