Module:Location map/data/USA Georgia/doc

From blackwiki
< Module:Location map‎ | data/USA Georgia
Revision as of 21:04, 5 February 2015 by blackwiki>Frietjes (→‎See also)
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/USA Georgia

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. 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
used in default map caption (Template:Location map/data/USA Georgia)
image
the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/USA Georgia|Template:Location map/data/USA Georgia]])
top
latitude at top edge of map, in decimal degrees (Template:Location map/data/USA Georgia)
bottom
latitude at bottom edge of map, in decimal degrees (Template:Location map/data/USA Georgia)
left
longitude at left edge of map, in decimal degrees (Template:Location map/data/USA Georgia)
right
longitude at right edge of map, in decimal degrees (Template:Location map/data/USA Georgia)

Examples

Single location

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 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