Loading AI tools
From Wikipedia, the free encyclopedia
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 | Archive 5 | Archive 6 | → | Archive 10 |
There are problems with the display of the map in IE 8. I noticed it first at Mona, Puerto Rico, but it seems universal. Sometimes the map shows, other times there is just a blank space. It is possibly related to the problem at Talk:Rùm#Map_is_broken. It needs looking at. 81.129.128.147 (talk) 13:38, 2 January 2010 (UTC).
Does anyone think that Russian template should use this image (upper one) instead? As a citizen of Russia myself, I'm much more pleased with this representation of Russia than the equirectangular projection, and apparently so do members of Russian, German, French and some other Wikipedias. I tried to make a new template by copy-pasting the code from those templates, but it seems like English wiki does not recognize it. --NineInchRuiner (talk) 14:06, 8 January 2010 (UTC)
Is there a new template that works as a locator for a non-equirectangular projection? I would love to have something like this implemented for Alaska, so our locator map doesn't look so ridiculous. Calliopejen1 (talk) 21:54, 2 February 2010 (UTC)
See Template:Location map Russia1. This template and other with y, x pareameters work with Template:Location map2. For example: Template:Location map China1, Template:Location map Canada1--Амба (talk) 21:56, 15 July 2010 (UTC)
I don't know if it's ever been discussed before but the name
fields in some maps are not very useful. For example {{Location map USA}} gives "USA". While correct, IMHO that is not to useful in a sentence. For example "The location of xyz in USA" is not the way it should read. I think the name
should produce "the USA" so that a sentence would read "the location of xyz in the USA". There are other nations have the same problem. For example, the United Kingdom and the United Arab Emirates. All opinions welcome. –droll [chat] 03:09, 8 February 2010 (UTC)
I'm interested in creating a placename distribution map for an article I'm writing. This would involve placing more than 300 markers on a map. Is this something that would be possible using a template, or is the only option to create an image offline and import it as a jpeg?
Catfish Jim and the soapdish (talk) 13:36, 11 February 2010 (UTC)
{{location map+}}
together with {{location map~}}
might be the ones to suit your requirement; see Battle of Bosworth Field#Background or Middlesex#Former postal county for examples - note that {{location map+}}
is used as a wrapper for multiple uses of the {{location map~}}
template. --Redrose64 (talk) 13:52, 11 February 2010 (UTC)That looks okay for my purposes, I mainly want to add them to illustrate density rather than having specific locations determinable, so I've also taken out the labels... looks pretty good so far. Catfish Jim and the soapdish (talk) 16:31, 11 February 2010 (UTC)
Template:Location map-line can be used for meridians and parallels. Thanks to ru:user:Kalan. --Obersachse (talk) 18:01, 20 February 2010 (UTC)
Location map - as advertised | Infobox Settlement | Location map - using decimal |
---|---|---|
{{Location map|Missouri|label=Kansas City |lat_deg=39|lat_min=06|lat_sed=00| lon_deg=-94|lon_min=34|lon_sec=48| }} |
{{Infobox Settlement | official_name = Kansas City| pushpin_map = Missouri | latd = 39| latm = 06| lats = 00| latNS = N | longd = 94| longm = 34| longs = 48| longEW = W }} |
{{Location map|Missouri|label=Kansas City |lat_deg=39|lat_min=06|lat_sed=00| lon_deg=-94.58| }} |
{{Location map|Missouri|label=Kansas City |lat_deg=39|lat_min=06|lat_sed=00| lon_deg=-94|lon_min=34|lon_sec=48| }} Note: Must enter negative lon_deg number, or the dot is moved over 180 degrees |
{{Infobox Settlement | official_name = Kansas City| pushpin_map = Missouri | latd = 39| latm = 06| lats = 00| latNS = N | longd = 94| longm = 34| longs = 48| longEW = W }} |
{{Location map|Missouri|label=Kansas City |lat_deg=39|lat_min=06|lat_sed=00| lon_deg=-94.58| }} |
--The Three Headed Knight (talk) 15:04, 16 April 2010 (UTC)
|lat_sed=
. If you amend these to |lat_sec=
, it should work. Please also note that the negative longitude fiddle is not required if you specify |lon_dir=W
:
{{Location map|Missouri|label=Kansas City
|lat_deg=39|lat_min=06|lat_sec=00|lat_dir=N
|lon_deg=94|lon_min=34|lon_sec=48|lon_dir=W
}}
Could someone make this location map, i have some problems with coordinates. The relevant map is File:Kiribati location map.svg. Thnx in advance--Ex13 (talk) 19:24, 20 April 2010 (UTC)
Thnks for help, but see this for Tabuaeran, and see on de:Tabuaeran:
--Ex13 (talk) 07:00, 21 April 2010 (UTC)
So a couple of weeks ago user user:Aleksandr Grigoryev changed Location map marker size from 8 to 5px with no explanation. I tried to revert but he did it again, to 4px. History. I asked him if there was any discussion on the subjuect but he seems be ingnoring me while still replying to other people (meaning he's not away or anything). What should I do and what you people think the size of marker should be?--NineInchRuiner (talk) 11:36, 27 April 2010 (UTC)
Smaller is better. 6px I think is about right.
For lighthouses we need a location map of the Chesapeake Bay including major tributaries and showing both Virginia and Maryland state borders. Is there someone who could make this up or point me to where to go or instructions for doing it myself? Mangoe (talk) 03:13, 2 May 2010 (UTC)
The template needs a bit of padding so that text does not butt right up to the edge of the map. It should be a variable. -- Alan Liefting (talk) - 10:13, 12 May 2010 (UTC)
Could somebody who knows how to do it fix Template:Location map Australia Victoria so that the bluelinked "Victoria" links to Victoria (Australia) instead of to the disambiguation page Victoria? I've tried a couple of times but my edits don't seem to be having the desired effect. Thanks. Bearcat (talk) 02:36, 29 May 2010 (UTC)
name = Victoria
name = Victoria (Australia){{!}}Victoria
The label positioning seems a bit of a hack right now. Is there a better way than assuming a label width of around 6.5em? Is there some alternative way to allow for variable label width without resorting to str len functions? Plastikspork ―Œ(talk) 20:38, 15 July 2010 (UTC)
FYI, I didn't see any discussion, but this template has now been forked: Template:Location map2. It is currently being replaced in many infobox templates. I'm not sure how I missed the discussion of this change. It would seem better to just improve this template, rather than fork it. Plastikspork ―Œ(talk) 14:16, 17 July 2010 (UTC)
Now about Template:Infobox dam. Template:Location map Canada gives large error. And Template:Location map do not work with Template:Location map Canada1. This is You edit: http://en.wikipedia.org/w/index.php?title=Revelstoke_Dam&action=historysubmit&diff=373985052&oldid=368326205 --Амба (talk) 16:58, 17 July 2010 (UTC)
Template:Location map2 include templates Latitude and Longitude. They are no protected. If You decided for replacing code of existing Template:Location map with code of Template:Location map2, protect templates Latitude and Longitude.--Амба (talk) 16:23, 17 July 2010 (UTC)
{{Location map2}}
is not very obvious to the end user. Also, I would imagine that {{Location map Africa1}} and {{Location map Russia1}} aren't the best names either. Can we merge these with {{Location map Africa}} and {{Location map Russia}}? Should we support both the current and edcp using a "type=" option? Thanks for all your help, and please if anyone else has any input, please discuss here. For example, should the edcp maps be the default? Thanks! Plastikspork ―Œ(talk) 18:26, 18 July 2010 (UTC)Okay, I have merged the changes as discussed in the thread above. I don't believe this will break anything and adds support for non-rectangular projections (e.g., edcp location maps). It also adds new default label positioning logic to try to move labels left when near the right edge of the map. I am hopeful that we will finally have {{Location map Antarctica}} working. For those interested in the details, this is the way it works. A location map is passed the lat/long (decimal) coordinates and asked to return the x and y position of the marker in the form of an expression which can be evaluated by the "expr" parser function. This means that the subtemplates are no longer brainless, but have some knowledge of the mathematical formulae used in the projection. If the location map template is one of the old versions, that does not return such an expression, then it falls back on the old code, and asks for the coordinates of the top/bottom/left/right edges of the map. I would say with this we could potentially ax {{Location map skew}} as well. I will work on updating the documentation when I have a chance. But for now, hopefully nothing broke, and the old behaviour should still work as it did before the update. Plastikspork ―Œ(talk) 22:49, 26 July 2010 (UTC)
{{Location map Russia|top}}
, {{Location map Russia|bottom}}
, {{Location map Russia|left}}
and {{Location map Russia|right}}
do not return any values. --Redrose64 (talk) 21:46, 1 August 2010 (UTC)
I would like to be able to create a location map where I upload an SVG of a country with administrative borders in standard colors, make a location map template with geographic references, then feed it a parameter telling it to highlight (set fill to red) the topmost polygon located at a given longitude/latitude. With this, a single standard SVG map could be used for an entire country of state/province articles. I don't know much about WP template scripting, but would this be possible? Lesqual (talk) 04:36, 15 August 2010 (UTC)
In calling {{Location map Alaska}} from {{Infobox mountain}}, we attempt to use negative (west) decimal longitude:
{{Location map |Alaska | label = Mount Cleveland | lat = 52.8222 | long = -169.945 | float = center | caption = | border = none | alt = | mark = Fire.svg | marksize = 8 | width = 272 | position = left }}
However, this does not produce a mark:
If I call it with a positive (East) decimal longitude, greater than 180, the mark shows up:
{{Location map |Alaska | label = Mount Cleveland | lat = 52.8222 | long = 190.055 | float = center | caption = | border = none | alt = | mark = Fire.svg | marksize = 8 | width = 272 | position = left }}
I think this is a bug in this template: can someone track it down and fix it? Thanks! —hike395 (talk) 06:38, 6 September 2010 (UTC)
{{Location map |Alaska | label = Arbitrary location | lat = 60 | long = 175 | float = center | caption = | border = none | alt = | mark = Fire.svg | marksize = 8 | width = 272 | position = }}
{{{lat}}}
and {{{long}}}
parameters directly. I believe that is where the problem lies. —hike395 (talk) 16:08, 6 September 2010 (UTC)
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.