Content deleted Content added
SchuminWeb (talk | contribs) |
Replacing Red_paintbrush_Castilleja_miniata_close.jpg with File:Castilleja_miniata_close.jpg (by CommonsDelinker because: File renamed:). |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 11:
== Extra two pixels ==
I've noticed that the first div block adds two pixels to the width of the output. Both pixels end up on the right side. Kind of like a right hand margin for an image that floats right. Does anyone know why this is done. Also, could we have a parameter that would prevent the extra pixels from being being added. It would be useful in Infoboxes. –[[User:Droll|<
:P.S. I've noticed this, especially, when using no caption and no boarder. See the [[Template:Location map#Map with no caption or border|Map with no caption or border]] example. –[[User:Droll|<
::Isn't it something to do with Internet Explorer not following the W3C standards for borders, padding etc., so that we need to compensate? --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 17:46, 13 October 2010 (UTC)
:::Thanks for the reply. I don't know that its needed for IE. [[Wikipedia:Extended image syntax|<nowiki>[[Image|...]]</nowiki>]] doesn't generate anything like this. I haven't checked to see if it has something to do with the way captions are handled though. It just seems a bit daft. I'll think about it. –[[User:Droll|<
:::P.S. I'm only concerned about the case with no caption and no boarder. The extra pixels might well be required when a border is used. –[[User:Droll|<
::::I worked on a version in the sandbox and reached the conclusion that the 2px only needed if there is a boarder. I checked the testcases in Foxfire, Chrome, Opera, Safari, IE 7 and IE 8 on windows, and Firefox and Epiphany on Linux. I want to think about the code in the sandbox for a bit unless Plastikspork thinks its good to go. –[[User:Droll|<
{{unindent|4}}
OK! The reason the 2px are added is because the inner block adds a 1px border around the image in addition to the outer border. So the code in the sandbox is good and the change should be transparent. –[[User:Droll|<
: Okay, I updated the template. Let me know if there is a problem. [[User:Plastikspork|Plastikspork]] [[User talk:Plastikspork|<sub style="font-size: 60%">―Œ</sub><sup style="margin-left:-3ex">(talk)</sup>]] 00:23, 14 October 2010 (UTC)
Line 38:
I have noticed this a few days ago and this seems to be a bug which didn't occur before. Despite the default label position should be right, all dots that have longitude more than (approx) 30 degrees have caption on the left (see three most right dots on the example). I made an example with ___location map start template and multiple dots just to illustrate, but this is reproducable with single dot ___location map template too. -[[User:NineInchRuiner|NineInchRuiner]] ([[User talk:NineInchRuiner|talk]]) 10:05, 27 October 2010 (UTC)
:In the default case the template is designed to move the label to the left if the marker is near the right side of the page. This is to avoid labels that run past the right side of the map. The position can be forced by setting <
:I looked at {{tl|Location map marker}} and it has the same markup for the default label position as this template. This the way it should be, I think. –[[User:Droll|<
::As I mentioned, this wasn't this way until a few days ago (ok, may be a little more) so it has to be some recent change. If it works like you said, than the criteria isn't clearly understood to me. It isn't starting at the middle at the map but rather smth like 1/4 from the right side, and it is not taking the caption length in the account. Clearly none of the labels on the example would run past the border. I believe that wikipeadians in general are smart enough to change caption position manually if needed. -[[User:NineInchRuiner|NineInchRuiner]] ([[User talk:NineInchRuiner|talk]]) 18:51, 27 October 2010 (UTC)
:::I did some more checking and {{tl|Location map marker}} was modified on October 13 and October 14. The behavior of that template was synchronized with this one. I totally support the changes because the default cases are handled without errors. As I mentioned the label position can be forced by setting <
::::It seems like NineInchRuiner is reporting a bug, and it hasn't been resolved. Is it fixable? —[[User:Hike395|hike395]] ([[User talk:Hike395|talk]]) 04:56, 3 November 2010 (UTC)
Line 201:
When a pin-marker for a town gets near the inset edge, then the inset map would have to ''in-your-face'' block another corner of the map. Instead, I would move the inset U.S.A. map as outset, perhaps alongside a state-flower image, or a town coat-of-arms seal:
::{|
| [[File:
| [[File:Map of USA UT.svg|thumb|112px|Utah in USA]]
|}
Line 232:
I'd be really grateful, thanks! [[User:Delusion23|Delusion23]] ([[User talk:Delusion23|talk]]) 14:45, 17 February 2011 (UTC)
:Well. Try {{tl|Location map Northern England}}. I just put it together and I have not even given it a test drive yet but I think its good. –[[User:Droll|<
::Hold on. Still working –[[User:Droll|<
:::Looks good to go. –[[User:Droll|<
::::Wow, thanks very much! It's really helped stop all the team locations cluttering up the place like they did on the old England map. [[2010-11 Northern Premier League#Stadia and Locations|NPL Premier Division]] and [[2010-11 Northern Premier League#Stadia and Locations_2|NPL Division One North]].
Line 244:
The lack of a centering option restricts the usefulness of this template in certain infoboxes and other circumstances. It would be nice to have this addressed. [[User:Wilford Nusser|Wilford Nusser]] ([[User talk:Wilford Nusser|talk]]) 12:00, 20 February 2011 (UTC)
:I'm not an HTML wizard but what I do is wrap this template in a div block with align="center". I hope this helps. –[[User:Droll|<
::P.S. If your writing a new infobox template drop me a note on my user talk page. –[[User:Droll|<
::: I added the "margin-left: auto; margin-right: auto;" for the "float=center" case. Revert/ping me if this causes a problem. Thanks! [[User:Plastikspork|Plastikspork]] [[User talk:Plastikspork|<sub style="font-size: 60%">―Œ</sub><sup style="margin-left:-3ex">(talk)</sup>]] 04:54, 22 February 2011 (UTC)
Line 258:
:It's got four attributes (<code>alt= src= width= height=</code>), but crucially, no <code>title=</code> attribute. According to [http://www.w3schools.com/tags/tag_IMG.asp this page], the mouseover text should be taken from the <code>title=</code> attribute, not from the <code>alt=</code> attribute. Therefore, Firefox is being compliant in displaying nothing, whereas IE is non-compliant. The fix required here is a change to the [[MediaWiki]] software so that the <code>title=</code> attribute is set for the {{tag|img|single}} tag.
:Alternatively, you ''could'' try raising a bugzilla ticket requesting that Firefox be brought in line with IE - but they'll probably reject your suggestion on the grounds that (as is so often the case) it's Mozilla who are following the [[W3C]] standards, and Microsoft who are bending them. You can't get Microsoft to fix ''anything'', they just carry on their own sweet way ignoring the heck out of us users, whilst trying to think of new ways to make it worse for us. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 22:33, 20 April 2011 (UTC)
::You could just use a piped link for the label, e.g. <
:::Alt text is really intended to aid the vision impaired. People have firmly held positions about how it should be used. You might look at [[Image map]] but it would involve a lot more work. –[[User:Droll|<
::::Lots of good suggestions, but a) it would be quite a loss if the page and its content can't be edited by non-specialist users. b) the elegant piped link solution, produces links on the text (rather than the dot) with lots of red links with the words 'page does not exist' added to the mouseover boxes. Looking further at my original problem, the Location Map+ section works correctly on all browsers (blank areas of map show the alt text). It is the Location Map~ entries, with the alt text to the red dot image that gets lost. (I would think that correct alt text would help both sighted and vision impaired readers, if it could work.) Thanks, [[User:RobinLeicester|RobinLeicester]] ([[User talk:RobinLeicester|talk]]) 23:31, 20 April 2011 (UTC)
Line 265:
If you look at the left-justified ___location map [[Walraversijde#Discovery|here]], you can see the text on the right is jammed against the map. Can ___location maps be made to default, as thumbnails do, to provide an appropriate amount of white space? --[[User:Epipelagic|Epipelagic]] ([[User talk:Epipelagic|talk]]) 08:02, 22 April 2011 (UTC)
:It seems like a good idea but backward compatibility is always a concern. If I have time I'll check to see what problems a wider margin might create. Someone else will have to code it. –[[User:Droll|<
::Will this only apply to maps with a caption that are floated left or right? –[[User:Droll|<
{{od}} I've fixed this in the sandbox. The code now uses the image thumbnail classes if a caption is provided, so it should automatically get the right styling to sit properly next to text when floated (and otherwise looks just like an image thumbnail as well). The test cases page shows that the floating isn't exactly right, but it's much better than it was before. If there are no bugs I'll get this synced in a few days. [[user:thumperward|Chris Cunningham (user:thumperward: not at work)]] - [[user talk:thumperward|talk]] 09:07, 22 April 2011 (UTC)
::Sounds good, Ill be back in the morning. –[[User:Droll|<
:::After a bit of looking around, I found that {{tl|Bristol mapbox}} uses float right. I think it can be substituted. However my search was not exhaustive and there might be other places where a ___location map is in a table or div block that is going to be affected. I like the change but there might be some collateral damage. I have another idea I'm going to check into. I hope someone else can look at this. –[[User:Droll|<
:::{{tl|Location map-line}} uses ___location map+ and would need to be modified. –[[User:Droll|<
{{unindent|2}}
I added a float right example and it looks OK but not perfect. The [[Template:Location map/testcases#Scotland|Scotland]] example shows that something broke. –[[User:Droll|<
: If templates which call {{tl|___location map}} are broken it's probably because they're using <code>caption</code> (which invokes the frame code) rather than <code>label</code> which doesn't. {{tl|Bristol mapbox}} uses both, which is pretty pointless; I've removed the caption declaration there and that's fixed it. Looking at the Scotland example now. [[user:thumperward|Chris Cunningham (user:thumperward: not at work)]] - [[user talk:thumperward|talk]] 09:53, 23 April 2011 (UTC)
::Sorry, there were two Scotland sections on the testcases page. See [[Template:Location map/testcases#Scotland2|Scotland2]]. So now there are three samples. In the second case, using the sandbox, the 1px margin disappeared. I think it has something to due with border being defined in the class and in a conditional but I'm not sure. Also, there is something wrong about the right margin. Good luck with this. –[[User:Droll|<
::: Ah, yes. It looks like the problem is that we can't manually specify <code>class="thumbimage"</code> in the image code, which is how images get a border. I've gone back to manually hacking in an inner border. The only remaining problem is that the margins don't exactly match that of image thumbnails, but I'm not sure we can do anything about that. [[user:thumperward|Chris Cunningham (user:thumperward: not at work)]] - [[user talk:thumperward|talk]] 10:56, 23 April 2011 (UTC)
:::: I think I can fix this but I'm going to have to fit the time to do it into other things. You have a great idea here. I'll work in my user space and get back here when I have something to show you. It might be a day or more. –[[User:Droll|<
{{unindent|3}}
I move a modified version into the sandbox. Although the code generated is does not exactly match that generated by a thumb image, the output is darn close. Basically, I moved the width def for the framed version into the div that uses case thumbinner. I also spend some time on code beatification but it's still a rat's nest. I think it's clean but I tend to miss stuff so please take a good look at it. –[[User:Droll|<
: Wonderful! I'll sync this in a day or so when I've got time to monitor for any fallout. Many thanks for this. [[user:thumperward|Chris Cunningham (user:thumperward: not at work)]] - [[user talk:thumperward|talk]] 11:54, 24 April 2011 (UTC)
::Good, I'm going to ask [[User:Plastikspork|Plastikspork]] to drop by and take a look. That guy really knows where his towel is. –[[User:Droll|<
::: Looks good at first glance. I was thinking we might want to put this in {{tl|Location map start}}/{{tl|Location map marker}}/{{tl|Location map end}}, then have the other ones (like this one) just use that one. The last time I did some updates, I ended up updating at least three or four of them, since they all use basically the same code. Thanks! [[User:Plastikspork|Plastikspork]] [[User talk:Plastikspork|<sub style="font-size: 60%">―Œ</sub><sup style="margin-left:-3ex">(talk)</sup>]] 00:41, 25 April 2011 (UTC)
Line 299:
:{{tl|Location map skew}}
:{{tl|Location map polarx}}
I think the easiest way forward is to modify Location map+ and then use it as a backend for the others and that it would be fairly strait forward to use it write Location map and Location map many as using Location map+ as a core template. I going to try this using sandboxes in my user area but I'm going need some time to do it. –[[User:Droll|<
:I have an example using {{tl|Location map+}} as a backend for {{tl|Location map}} in my user space. You can see it [http://en.wikipedia.org/w/index.php?title=User:Droll/subpages/sandbox1&oldid=425912823 here] and the testcases [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=User:Droll/subpages/testcases1&oldid=425912488 here]. It does not implement the modification we have been discussing. The links are to archived versions so please don't change them. –[[User:Droll|<
:: Yes, use {{tl|Location map+}}/{{tl|Location map~}} as the base. Looking at the code for {{tl|Location map many}}, I now remember doing [http://en.wikipedia.org/w/index.php?title=Template%3ALocation_map_many&action=historysubmit&diff=376438117&oldid=375072237 this], which was a step in the right direction. We should do the same with this template and then get rid of {{tl|Location map start}}/{{tl|Location map end}}. By the way, we could actually add a {{para|places}} to this template and make it have the same functionality as {{tl|Location map+}}. As for {{tl|Location map skew}} and {{tl|Location map polarx}}, we should kill those and focus on documenting the general mapping features of this template. I suggested this to the author of that template but he was not receptive. [[User:Plastikspork|Plastikspork]] [[User talk:Plastikspork|<sub style="font-size: 60%">―Œ</sub><sup style="margin-left:-3ex">(talk)</sup>]] 00:13, 26 April 2011 (UTC)
::: I'm working on it. I ran into a snag and I wasted a lot of time on it but I making progress now. –[[User:Droll|<
{{unindent|2}}
There is a new version of {{tl|Location map+}} in that templates [[Template:Location map+/sandbox|sandbox]] which implements all the changes Chris Cunningham and I have been working on. I am confident that it's ready for prime time. I also wrote a front end for this template and it is in this template's [[Template:Location map+/sandbox|sandbox]]. Currently it transcludes the sandbox version of <nowiki>{{Location map+}}</nowiki> so it should not go live until after that template is updated. There are so many articles that transclude this template that I think it would be a good idea to implement <nowiki>{{Location map+}}</nowiki> and then see if any bugs show up. <nowiki>{{Location map many}}</nowiki> transcludes <nowiki>{{Location map+}}</nowiki> so articles that transclude it will also be affected by the change. I'm not going to request an edit on the ___location map+ discussion page as I think either Chris or Plastikspork ought to do it. P.S. I added 3px padding above the default caption. –[[User:Droll|<
: Nice work. I synced the sandbox with {{tl|Location map+}} and so far I see no issues. Thanks again! [[User:Plastikspork|Plastikspork]] [[User talk:Plastikspork|<sub style="font-size: 60%">―Œ</sub><sup style="margin-left:-3ex">(talk)</sup>]] 01:21, 27 April 2011 (UTC)
==Problem in IE6 ==
I move the current discussion to this new section.  –[[User:Droll|<
::The latest edit seems to cause problems with Internet Explorer 6. I have no problems at home with IE8 or Firefox 3.6, but at work I have no choice but to use IE6. (Don't tell me to upgrade my browser, that option is not available at my workplace.) What goes wrong in IE6 is that the spots are drawn too far south. It looks as though they are being plotted relative to the outer frame (i.e. including the text caption below the map) instead of the map. If I use a long, multi-line caption, the problem gets worse. This problem seems to have arisen only within the last few weeks and it affects only {{tlx|Location map+}}, not {{tlx|Location map}}. --<span style="border:1px solid #006000">[[User:Dr Greg|<
:::I know this is probably a dumb question but did you have this problem with {{tlf|Location map+}} before the upgrade.  –[[User:Droll|<
::No, Location map+ was working perfectly well on IE6 until very recently. --<span style="border:1px solid #006000">[[User:Dr Greg|<
:::I don't have access to IE6 but I've been hacking anyway. I would appreciate it if you you could check and see of the version now in the [[Template:Location map~/sandbox|sandbox]] works for you. There are [[User:Droll/subpages/testcases6|test cases]] in my user space. Feel free to use that page. The Four Corners marker is a good test for accuracy. Thanks. –[[User:Droll|<
::Thanks. I won't be able to test until Monday. I'll report back then. --<span style="border:1px solid #006000">[[User:Dr Greg|<
::Sorry, the change you made makes no difference under IE6. --<span style="border:1px solid #006000">[[User:Dr Greg|<
Not even Microsoft websites support IE6 anymore, so we can safely call it a former browser for all practical purposes. And good riddance. [[User talk:Zocky|Zocky]] | [[User:Zocky/Picture Popups|picture popups]] 20:32, 9 May 2011 (UTC)
:Statistics show that IE6 currently has a [http://www.w3schools.com/browsers/browsers_explorer.asp 2.5% share] which is about the same as [http://www.w3schools.com/browsers/browsers_stats.asp Opera]. I'll try to work on it as I get time. –[[User:Droll|<
::Opera has the majority market share in several countries, IE6 doesn't. The development of Opera continues, and its long-term trend is stable. Meanwhile, IE6 has been out of date for 10 years, and has lost half its market share in the last 6 months and is expected to fall under 1% in the next 6 months. And crucially, Opera is largely standard-compliant and doesn't require special handling, like IE6 does.
::All in all, if anybody wants to bother with it, go ahead, but it's hardly worth the time and effort anymore. [[User talk:Zocky|Zocky]] | [[User:Zocky/Picture Popups|picture popups]] 18:37, 10 May 2011 (UTC)
:::No argument here. I was making a observation and I did not mean to imply that they were comparable in any way.  –[[User:Droll|<
== Need help with Location map+ ==
Line 334:
Hi. I'm trying to create a map using Location map plus, at [[European Youth Parliament#Sessions]], but I can't get it to work properly. Could someone please help me? Thanks in advance. <span style="font-variant: small-caps"><span style="font-family:Baskerville">[[User:P. S. Burton|P. S. Burton]] ([[User talk:P. S. Burton|talk]])</span></span> 20:58, 8 May 2011 (UTC)
:Looks like your doing pretty good. You can ask your question here or on my talk page. –[[User:Droll|<
:I worked on [[Template:Location map Europe2]] and it should work now. You might still have a problem fitting all the captions. I used the (currently undocumented) <
:You might try using numeric labels and providing a map legend as the caption. –[[User:Droll|<
== Help with Location map/marker ==
Hi. We're trying to create the [[Template:Infobox UK place]] over at cywiki ([[:cy:Nodyn:Gwybodlen lle'r DU]] is what we have), but are having problems with our version of the above template; [[:cy:Nodyn:Location map/marker]] is what we have, but while trying it out on [[:cy:Alloway]], we get the error (click in to show error, for some reason it's not showing up!) <div style="position: absolute; z-index: 2; top: Expression error: Missing operand for *%; left: 83.3%; height: 0; width: 0; margin: 0; padding: 0;"> I've looked everywhere, and the only place I can find similar code is our Nodyn:Location map/marker. Can someone offer some help? Thank you. -- '''[[User:Xxglennxx|<
*I created a simple test case for [[cy:Nodyn:Location map]] at [[cy:Nodyn:Location map/testcases]] and it looks good. So I doubt its a problem with Location map. It might be a typo somewhere in [[cy:Nodyn:Gwybodlen lle'r DU]]. –[[User:Droll|<
== Colombia and Buenos Aires maps ==
Line 358:
The other default should be checked as well, so let's hold off awhile. I really think that all three templates should have the same defaults.
Sorry that I said in a sandbox edit summary that it was good to go. I really thought it was. –[[User:Droll|<
:Think it would be nice if the default is not any float, but the map breaking in the text. This is useful for cases where the map is large and squeezes the text, especially on smaller screens. [[User:JMK|JMK]] ([[User talk:JMK|talk]]) 09:28, 22 June 2011 (UTC)
::I think Chris Cunningham's fix at Location map+ will solve the problem but I'd like to go slow. I going to see if I can check for any problems with unexpected output.
::JMK, I guess you mean using using "float:none" as the default. I think we are, sort of bound by what has become expected behavior. I think there has been an attempt to mirror the behavior of image files. Consistency is important here, IMHO. –[[User:Droll|<
::: Indeed. Changing the default at this point isn't an option. Too many existing transclusions rely on a certain default (i.e. right). I haven't exhaustively tested the fix I put in place but it is logically correct and seems to work where I need it to (testcases and in the {{tl|___location map}} sandbox). [[user:thumperward|Chris Cunningham (user:thumperward)]] - [[user talk:thumperward|talk]] 15:23, 22 June 2011 (UTC)
:::: See [[Template:Location map/testcases#Exercise float]]. There are less than 150 articles that use Location map+ without a value assigned to float. I'll check them today. –[[User:Droll|<
{{unindent|3}}
I've done fairly good check of the articles and templates that transclude Location map+, and I fixed a few things. There was nothing really bad. So, I think, the modification of that templates is OK. I looked for any other differences in default behavior and did not find anything of significance. –[[User:Droll|<
: Did you chec {{tl|___location map}}, which now trancludes this? It was {{tl|___location map}}'s omission of a default float which brought this bug to light in the first place. And if it comes down to either having to modify {{tl|___location map}} or keeping the default as it is, I'd rather the default were kept as it is, simply because people are used to it. [[user:thumperward|Chris Cunningham (user:thumperward)]] - [[user talk:thumperward|talk]] 12:41, 25 June 2011 (UTC)
:: Everything seems to be fine. The float is to the right, by default, as it has been, for and Location map. I believe it is the way we want it to be. Files (thumbs) have the same default float. Everything is good it seems to me. What might need to be modified? –[[User:Droll|<
::: Nope, I'm fine with that. My comment was in regard to the above discussion about changing the default float to <code>none</code>, which I don't think is a god idea. [[user:thumperward|Chris Cunningham (user:thumperward)]] - [[user talk:thumperward|talk]] 10:03, 26 June 2011 (UTC)
Line 384:
# The position of labels gets messed up if large marks are used. I think their position should be relative to the size of the mark.
Of course the documentation needs to be updated to reflect the options that Location map+ has that Location map did not have. I'll work on these one at a time unless others would care to take on a task. Are there tweaks that others would like to see? –[[User:Droll|<
== Bug fix ==
{{editprotected|answered=yes}}
Currently the template does not pass {{param|relief}}. This is fixed in the {{tl|Location map/sandbox|sandbox}} version. It has been tested and I am confident that the fix will work. –[[User:Droll|<
:{{done}} — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 16:36, 30 June 2011 (UTC)
*Can the documentation be updated to indicate how this new parameter is used exactly? It appears you set it to 1 to use the relief map? How does one associate a relief map with the ___location map template if there isn't one currently set up? [[User:RedWolf|RedWolf]] ([[User talk:RedWolf|talk]]) 17:07, 30 June 2011 (UTC)
Line 397:
::I'll get to the documentation as soon as I can. In general there are three methods that can be used to display a relief map.
::* Use the <
::* Assign any value to the <
::* Sometimes another template exists that uses a relief map. See {{tl|Location map USA2}} and {{tl|Location map USA relief}}. Using the first template with <
::Your second question more difficult and I tried to come up with something but I do not know enough to formulate a general answer. The major problem is finding a map image that has the same geological edge coordinates and projection as the the default image. You might ask at [[Wikipedia:WikiProject Maps]]. –[[User:Droll|<
== Locations clickable to access geohack mapping ==
Line 407:
Apologies if this an old chestnut, but I have searched for information without success. It would be useful, at the [[List of castles in England]] page, to have each ___location on a map clickable to access geohack mapping facilities. All that would be necessary is to have the small ___location image linked to the required href, in the same way that the whole map image is currently linked to the map source page. Is this facility available, has it been requested, if not can it please be implemented? [[User:Paravane|Paravane]] ([[User talk:Paravane|talk]]) 17:51, 17 July 2011 (UTC)
:Do you mean as demonstrated at {{tlx|Location map+}} ? --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 18:51, 17 July 2011 (UTC)
::If you mean what I think you mean, it might be an interesting idea. I'll look into it. –[[User:Droll|<
:::If I'm not mistaken, at {{tlx|Location map+}} the link is only to a wiki page, a similar facility but it would be useful to be able to link instead to geohack, and it could be done via the ___location image spot. It might also be helpful if it could be done by opening a new browser window, to avoid leaving the wiki page. [[User:Paravane|Paravane]] ([[User talk:Paravane|talk]]) 19:19, 17 July 2011 (UTC)
Line 428:
}}
This works for Windsor. I strip the others for simplicity. I do not recommend the use of {{tl|Location map start}} because it currently receives little support. P.S. I got the URL by going to the [[Windsor Castle]] page and clinking on the coordinates link. I have a another idea and if it works I'll get back to you on your talk page. –[[User:Droll|<
:You could ask at [[Template talk:Coord]] to see if one of the subtemplates will generate the GeoHack link. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 20:26, 17 July 2011 (UTC)
::Notice that I added a caption with causes the map to appear more line thumb image. –[[User:Droll|<
:::Just the job! If the link could be generated automatically by the ___location map templates, for the given coordinates, that would make life easier for the editor! In that case the template could perhaps be assigned a parameter, clickable=yes/no. I wonder also about an option to suppress the link to the map source, that would make the geohack link more noticeable, and avoid the need to look where you're going before you click. [[User:Paravane|Paravane]] ([[User talk:Paravane|talk]]) 20:57, 17 July 2011 (UTC)
::::I'll reply on you talk page. –[[User:Droll|<
== Scotland mainland ==
<pre style="overflow:auto">
{|align=right
|{{Location map+|Scotland|caption=Location map Scotland|width=200 |places=
Line 461:
{{Location map~|Scotland2|label=Mull of Galloway |position=left |lat_deg=54.6351 |lon_deg=-4.8563 }}
{{Location map~|Scotland2|label=Rattray Head |position=left |lat_deg=57.5091 |lon_deg=-1.7832 }} }}
|}</pre>
The coordinates for {{tlx|Location map Scotland mainland}} are somewhat off. The horizontal scale is about right, but the vertical scale is significantly compressed, see central map at right. The places mapped are at or near the extremities of the Scottish mainland: [[Ardnamurchan Point]], [[Cape Wrath]], [[John o' Groats]], [[Lamberton, Scottish Borders]], [[Mull of Galloway]], [[Rattray Head]]. The other two maps are shown for comparison. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 14:49, 22 July 2011 (UTC)
:The edge coordinates used by {{tlf|Location map Scotland mainland}} are way off. I'm not an expert at this but I try to fix it. –[[User:Droll|<
::I gave a good go but the map seems to be distorted. I put a warning message on the template. In my humble opinion it is not worth any more time. –[[User:Droll|<
== Fix for mobile version ==
Line 479:
The red dots on the maps for [[Cheetham Close]] and [[Rivington services]] are in the wrong place, but when clicking of the coordinates and selecting one of the maps at GeoHack they are in the correct place. Could someone please look into the problem and fix it. Thanks [[User:HLE|HLE]] ([[User talk:HLE|talk]]) 18:25, 4 August 2011 (UTC)
:They look in the right places to me. How far off do you believe them to be? --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 18:41, 4 August 2011 (UTC)
::Using Firefox, they look good to me too. It might be your web browser. If you see a problem, it would be interesting to know what browser and version you use. –[[User:Droll|<
Had a problem with my browser, but now appears ok. Thanks anyway. [[User:HLE|HLE]] ([[User talk:HLE|talk]]) 15:40, 5 August 2011 (UTC)
:This seems to be exactly the same problem that I reported earlier on this page at [[#Problem in IE6]]. I am getting the same symptoms (when I use my employer's archaic IE6) with [[Cheetham Close]] and [[Rivington services]], just like the symptoms I reported in May. But I '''don't''' get the symptoms with {{tlx|Infobox UK place}}, which I believe does not make use of Location map's caption but supplies its own caption (outside of Location map). <small>The good news for me is that my employer's IT department has announced an upgrade from IE6. The bad news is that the rollout has been postponed due to compatibility issues.</small> --<span style="border:1px solid #006000">[[User:Dr Greg|<
==Why no just use Google™ Static Maps?==
Line 562:
:{|
|Disabling the default link to the image description page is problematic. Many images, including images of maps, are not in the public ___domain. For example the image used by {{tl|Location map USA}} is licensed under both the the [[Creative Commons]] [http://creativecommons.org/licenses/by-sa/3.0/deed.en Attribution-Share Alike 3.0 Unported license] (CC BY-SA 3.0) and the [[GNU Free Documentation License]] (GFDL). Its my understanding that the link to the image description page satisfies the attribution requirement of the CC BY-SA 3.0 license, and the requirement that of the text of the [http://commons.wikimedia.org/wiki/Commons:GFDL GFDL] be included with licensed document. I'm not an expert on this, so I might be wrong. One way around this is to include a link to the description page by using something like [[file:desc-20.png|15px]] in the map to the left. The [[file:magnify-clip.png|15px]], at the bottom left of a thumbnail image, serves the same purpose.<br/>P.S. Images commonly used as a mark, such as [[file:Red pog.svg|10px]], are in the public ___domain. –[[User:Droll|<
|<imagemap>
Image:Usa edcp ___location map.svg|150px|alt=Alt text
Line 574:
Is there a procedure to make or request for a new map? Another user made a request to use an old map of Italy ([[:File:Kingdom of Italy 1919 map.svg]]) for the [[1934 FIFA World Cup]], and probably it can be used in other articles, too. (The Giro d'Italia in that year, the national football competitions, et cetera.) --[[User:EdgeNavidad|EdgeNavidad]] <small>([[User talk:EdgeNavidad|Talk]] · [[Special:Contributions/EdgeNavidad|Contribs]])</small> 09:52, 25 September 2011 (UTC)
::[[Wikipedia:
:::I'm, sorry, my original request was probably not clear. The "Map workshop" where you link to is the place where I would request creation of the map. The map already exists, but I would like it to be able to be used in {{tl|Location map}}. --[[User:EdgeNavidad|EdgeNavidad]] <small>([[User talk:EdgeNavidad|Talk]] · [[Special:Contributions/EdgeNavidad|Contribs]])</small> 17:18, 27 September 2011 (UTC)
::::So do you want to request the creation of a ___location map template? I don't know a special place for such requests. So let's discuss your request right here. If I should create a template for you I would ask about the purpose of the template, the existence of a map, do you know the coordinates of the map borders (geographic limits of the map) and the kind of the projection. The mor answers you can give the easier it is to create such a ___location map template. --[[User:Obersachse|Obersachse]] ([[User talk:Obersachse|talk]]) 19:15, 27 September 2011 (UTC)
Line 617:
{{editprotected|ans=yes}}
For whatever reason, a person might want to increase label width but not increase label font size. Right now, the only way to increase the width of the label is to change the font of the label (the width is a static 6em's). Open up the source, search for: '''width: 6em;''' (emphasis added -- it only occurs once) and change that to '''width: <nowiki>{{{label_width|6}}}</nowiki>em;''' (emphasis added). Then add something in the documentation about a label width value and that it should be given as a straight number but that it'll be parsed in em rather than px, so as to scale with an increased font size if the font is changed by a screen reader. [[User:Banaticus|Banaticus]] ([[User talk:Banaticus|talk]]) 04:27, 26 November 2011 (UTC)
:
== help with border coordinates! ==
|