Difference between revisions of "Module:Location map/data/USA Georgia/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (29 revisions imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{Module:Location map/data/doc
 
+
|examples=
'''Template:Location map USA Georgia''' is a location map definition used to overlay markers and labels on an [[equirectangular projection]] map of the [[U.S. state]] of [[Georgia (U.S. state)|Georgia]]. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.
 
 
 
== Usage ==
 
These definitions are used by the following templates when invoked with parameter "USA Georgia":
 
* {{tlx|Location map | USA Georgia&nbsp;| ...}}
 
* {{tlx|Location map many | USA Georgia&nbsp;| ...}}
 
* {{tlx|Location map+ | USA Georgia&nbsp;| ...}}
 
* {{tlx|Location map~ | USA Georgia&nbsp;| ...}}
 
 
 
== Map definition ==
 
; name
 
: used in default map caption (<tt>{{{{BASEPAGENAME}}|name}}</tt>)
 
; image
 
: the default map image, without "Image:" or "File:" (<tt>[[:File:{{{{BASEPAGENAME}}|image}}|{{{{BASEPAGENAME}}|image}}]]</tt>)
 
; top
 
: [[latitude]] at top edge of map, in [[decimal degrees]] (<tt>{{{{BASEPAGENAME}}|top}}</tt>)
 
; bottom
 
: latitude at bottom edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|bottom}}</tt>)
 
; left
 
: [[longitude]] at left edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|left}}</tt>)
 
; right
 
: longitude at right edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|right}}</tt>)
 
 
 
== Examples ==
 
 
=== Single location ===
 
=== Single location ===
 
{{Location map | USA Georgia
 
{{Location map | USA Georgia
Line 111: Line 87:
 
}}
 
}}
 
</pre>
 
</pre>
{{clear}}
+
| see also =  
 
+
* [[Module:Location map/data/USA]]
== See also ==
+
}}
* [[Template:Location map]]
 
* [[Template:Location map+]]
 
* [[Template:Location map many]]
 
* [[Template:Location map USA]]
 
 
 
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES HERE, THANKS -->
 
<!-- CATEGORIES HERE, THANKS -->
 
 
{{DEFAULTSORT:Georgia, Location map USA}}
 
{{DEFAULTSORT:Georgia, Location map USA}}
[[Category:United States state location maps]]
+
[[Category:Georgia (U.S. state) location map templates| ]]
 
 
 
</includeonly>
 
</includeonly>

Latest revision as of 07:32, 27 September 2020


Location map of Georgia (U.S. state)
name Georgia (U.S. state)
border
coordinates
35.2
-85.8 ←↕→ -80.6
30.2
map center Lua error: callParserFunction: function "#coordinates" was not found.
image USA Georgia location map.svg
USA Georgia location map.svg


Module:Location map/data/USA Georgia is a location map definition used to overlay markers and labels on an equirectangular projection map of Georgia (U.S. state). The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "USA Georgia":

Map definition

  • name = Georgia (U.S. state)
    Name used in the default map caption
  • bottom = 30.2
    Latitude at bottom edge of map, in decimal degrees
  • left = -85.8
    Longitude at left edge of map, in decimal degrees
  • right = -80.6
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 5.2 degrees.

  • At an image width of 200 pixels, that is 0.026 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0052 degrees per pixel.

Latitude: from North to South this map definition covers 5 degrees.

  • At an image height of 200 pixels, that is 0.025 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.005 degrees per pixel.

Examples using location map templates

Single location

McCaysville is located in Georgia (U.S. state)
McCaysville
McCaysville
McCaysville (Georgia (U.S. state))
{{Location map | USA Georgia
| width = 200
| lat_deg = 34 | lat_min = 58.90 | lat_dir = N
<!--34°58′54″N-->
| lon_deg = 84 | lon_min = 22.20 | lon_dir = W
<!--84°22′13″W-->
| label = McCaysville
| label_size = 90 <!-- percent 0-900% -->
| background = #FFFF99 | position = bottom
}}

Multiple locations

Location map/data/USA Georgia/doc is located in Georgia (U.S. state)
Macon
Valdosta
Two locations in Georgia
{{Location map many | USA Georgia
| AlternativeMap = <!--none (use default map)-->
| width = 200
| caption = Two locations in Georgia
| label = Macon
  | label_size = 90 | background = #CCCC55<!--gold-->
  | lat_deg = 32 | lat_min = 50.1 | lat_dir = N
  | lon_deg = 83 | lon_min = 39.1 | lon_dir = W
| label2 = Valdosta
  | label2_size = 90 | bg2 = #FFCC66<!--orange--> | pos2 = top
  | lat2_deg = 30 | lat2_min = 49.9 | lat2_dir = N
  | lon2_deg = 83 | lon2_min = 17.3 | lon2_dir = W
}}

Multiple locations, different markers

{{Location map many | USA Georgia
| width = 200
| caption = Atlanta and Lake Lanier
| label = Atlanta
  | label_size = 90 | background = #FFFF99 | position = left
  | lat_deg = 33 | lat_min = 45.30 | lat_dir = N
  | lon_deg = 84 | lon_min = 23.40 | lon_dir = W
| label2 = Lake Lanier
  | label2_size = 90 | bg2 = SkyBlue | pos2 = right
  | mark2 =Diamond_sheer_red_20.png | mark2size = 20
  | lat2_deg = 34 | lat2_min = 12.2 | lat2_dir = N
  | lon2_deg = 83 | lon2_min = 58.95 | lon2_dir = W
}}

See also

Location map templates

Creating new map definitions