Module:Location map/data/USA Georgia
name | Georgia | |||
---|---|---|---|---|
border coordinates | ||||
35.2 | ||||
-85.8 | ←↕→ | -80.6 | ||
30.2 | ||||
map center | 32°42′N 83°12′W / 32.7°N 83.2°W | |||
image | USA Georgia location map.svg
| |||
image1 | USA Georgia relief 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. 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":
{{Location map|USA Georgia |...}}
{{Location map many|USA Georgia |...}}
{{Location map+|USA Georgia |...}}
{{Location map~|USA Georgia |...}}
Map definition
name = Georgia
- Name used in the default map caption
image = USA Georgia location map.svg
- The default map image, without "Image:" or "File:"
image1 = USA Georgia relief location map.svg
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
top = 35.2
- Latitude at top edge of map, in decimal degrees
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
Alternative map
The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
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
{{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
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return {
name = 'Georgia',
top = 35.2,
bottom = 30.2,
left = -85.8,
right = -80.6,
image = 'USA Georgia location map.svg',
image1 = 'USA Georgia relief location map.svg'
}