<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wellwiki-prod.cloud.arc.gwu.edu/index.php?action=history&amp;feed=atom&amp;title=Module%3ALocation_map%2Fdata%2Fdoc</id>
	<title>Module:Location map/data/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wellwiki-prod.cloud.arc.gwu.edu/index.php?action=history&amp;feed=atom&amp;title=Module%3ALocation_map%2Fdata%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wellwiki-prod.cloud.arc.gwu.edu/index.php?title=Module:Location_map/data/doc&amp;action=history"/>
	<updated>2026-11-08T09:44:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wellwiki-prod.cloud.arc.gwu.edu/index.php?title=Module:Location_map/data/doc&amp;diff=345520&amp;oldid=prev</id>
		<title>Wiki: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wellwiki-prod.cloud.arc.gwu.edu/index.php?title=Module:Location_map/data/doc&amp;diff=345520&amp;oldid=prev"/>
		<updated>2014-05-11T02:23:40Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:23, 11 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wiki</name></author>
		
	</entry>
	<entry>
		<id>https://wellwiki-prod.cloud.arc.gwu.edu/index.php?title=Module:Location_map/data/doc&amp;diff=345519&amp;oldid=prev</id>
		<title>Jackmcbarn: make precision work for maps that cross 180</title>
		<link rel="alternate" type="text/html" href="https://wellwiki-prod.cloud.arc.gwu.edu/index.php?title=Module:Location_map/data/doc&amp;diff=345519&amp;oldid=prev"/>
		<updated>2014-04-21T20:24:21Z</updated>

		<summary type="html">&lt;p&gt;make precision work for maps that cross 180&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the documentation page for all Module:Location map/data/* pages.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#invoke:Location map/info|main}}&lt;br /&gt;
{{{image|}}}&lt;br /&gt;
&lt;br /&gt;
'''{{#titleparts:{{FULLPAGENAME}}|3}}''' is a location map definition used to overlay markers and labels on {{{projection|an [[equirectangular projection]]}}} map of {{{name|[[{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|name}}]]}}}. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
These definitions are used by the following templates when invoked with parameter &amp;quot;{{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;quot;:&lt;br /&gt;
* {{tlx|Location map | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
* {{tlx|Location map many | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
* {{tlx|Location map+ | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
* {{tlx|Location map~ | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
&lt;br /&gt;
== Map definition ==&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''name''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|name}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: Name used in the default map caption&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''image''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image}}]]&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: The default map image, without &amp;quot;Image:&amp;quot; or &amp;quot;File:&amp;quot;&lt;br /&gt;
{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''image1''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}]]&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: An alternative map image, usually a relief map, can be displayed via the ''relief'' or ''AlternativeMap'' parameters&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''image2''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}]]&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: A second alternative map image, can be displayed via the ''AlternativeMap'' parameter only&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''top''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: [[Latitude]] at top edge of map, in [[decimal degrees]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''bottom''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: Latitude at bottom edge of map, in decimal degrees&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''left''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: [[Longitude]] at left edge of map, in decimal degrees&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''right''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: Longitude at right edge of map, in decimal degrees&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|x}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|y}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''x''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|x}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: An expression to calculate a location on the map via its [[longitude]]; evaluates as 0 along the left edge and 100 along the right edge&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''y''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|y}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: An expression to calculate a location on the map via its [[latitude]]; evaluates as 0 along the top edge and 100 along the bottom edge&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''mark''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}]] ([[File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|8px]])&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: The default mark image to display with this map. This can be overridden by the &amp;lt;code&amp;gt;mark&amp;lt;/code&amp;gt; parameter in [[Template:Location map]], which would otherwise default to [[:File:Red pog.svg|Red pog.svg]] ([[File:Red pog.svg|8px]]).&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'''marksize''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
*: The default mark size (in [[pixel]]s) for the mark image displayed with this map (should not include &amp;lt;code&amp;gt;px&amp;lt;/code&amp;gt;, for example &amp;lt;code&amp;gt;marksize={{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}&amp;lt;/code&amp;gt;, not &amp;lt;code&amp;gt;marksize={{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}px&amp;lt;/code&amp;gt;). This can be overridden by the &amp;lt;code&amp;gt;marksize&amp;lt;/code&amp;gt; parameter in [[Template:Location map]], which would otherwise default to 8.&lt;br /&gt;
}}&lt;br /&gt;
{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}|&lt;br /&gt;
== Alternative map ==&lt;br /&gt;
The map defined as '''image1''' (&amp;lt;tt&amp;gt;{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}&amp;lt;/tt&amp;gt;) can be displayed by using the ''relief'' or ''AlternativeMap'' parameters in {{tl|Location map}}, {{tl|Location map many}} and {{tl|Location map+}}. {{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}| The map defined as '''image2''' (&amp;lt;tt&amp;gt;{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}&amp;lt;/tt&amp;gt;) can only be displayed by using the ''AlternativeMap'' parameter.}} The use of these two parameters is shown in the examples below. Additional examples can be found at:&lt;br /&gt;
* [[Template:Location map#Relief parameter]]&lt;br /&gt;
* [[Template:Location map#AlternativeMap parameter]]&lt;br /&gt;
* [[Template:Location map+/relief]]&lt;br /&gt;
* [[Template:Location map+/AlternativeMap]]&lt;br /&gt;
}}&lt;br /&gt;
{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}}|&lt;br /&gt;
== Precision ==&lt;br /&gt;
[[Longitude]]: from West to East this map definition covers {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) mod 360 round 4}} degrees.&lt;br /&gt;
* At an image width of 200 [[pixel]]s, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) mod 360 / 200 round 4}} degrees per pixel.&lt;br /&gt;
* At an image width of 1000 pixels, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) mod 360 / 1000 round 4}} degrees per pixel.&lt;br /&gt;
&lt;br /&gt;
[[Latitude]]: from North to South this map definition covers {{#expr: {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} round 4}} degrees.&lt;br /&gt;
* At an image height of 200 pixels, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} ) / 200 round 4}} degrees per pixel.&lt;br /&gt;
* At an image height of 1000 pixels, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} ) / 1000 round 4}} degrees per pixel.&lt;br /&gt;
}}&lt;br /&gt;
{{#if:{{{examples|}}}|&lt;br /&gt;
== Examples using location map templates ==&lt;br /&gt;
&lt;br /&gt;
{{{examples}}}&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{{see also|}}}&lt;br /&gt;
&lt;br /&gt;
; Location map templates&lt;br /&gt;
* [[Template:Location map]], to display one mark and label using latitude and longitude&lt;br /&gt;
* [[Template:Location map many]], to display up to nine marks and labels&lt;br /&gt;
* [[Template:Location map+]], to display an unlimited number of marks and labels&lt;br /&gt;
&lt;br /&gt;
; Infobox templates incorporating (passing values to) the Location map template&lt;br /&gt;
{{Location map/doc/See also infobox templates}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jackmcbarn</name></author>
		
	</entry>
</feed>