Module:Location map/data/USA Alabama

MyWikiBiz, Author Your Legacy — Friday November 29, 2024
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

File:Map of Alabama NA.png
Map of Alabama (click on map to see larger image)

Module:Location map/data/USA Alabama is a location map definition used to overlay markers and labels on an equirectangular projection map of the U.S. state of Alabama. 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 Alabama":

Map definition

  • name = Alabama
    Name used in the default map caption
  • bottom = 29.9
    Latitude at bottom edge of map, in decimal degrees
  • left = -88.7
    Longitude at left edge of map, in decimal degrees
  • right = -84.7
    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:

Precision

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

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

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

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

Examples using location map templates

Location map

Template:Location map

{{Location map | USA Alabama
| width   = 200
| lat_deg =  32 | lat_min = 21 | lat_sec = 42 | lat_dir = N 
| lon_deg = 086 | lon_min = 16 | lon_sec = 45 | lon_dir = W
| label   = Montgomery
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | USA Alabama
| width    = 200
| caption  = Locations in Alabama
| lat1 = 34.987 | long1 = -86.843 | label1 = Ardmore
| lat2 = 30.268 | long2 = -87.701 | label2 = Gulf Shores
| lat3 = 31.931 | long3 = -88.459 | label3 = Melvin
| lat4 = 32.863 | long4 = -85.200 | label4 = Lanett
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | USA Alabama
| width   = 200
| caption = Locations in Alabama
| places  =
  {{Location map~ | USA Alabama
  | lat = 34.987 | long = -86.843 | label = Ardmore
  }}
  {{Location map~ | USA Alabama
  | lat = 30.268 | long = -87.701 | label = Gulf Shores
  }}
  {{Location map~ | USA Alabama
  | lat = 31.931 | long = -88.459 | label = Melvin
  }}
  {{Location map~ | USA Alabama
  | lat = 32.863 | long = -85.200 | label = Lanett
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions



return {
	name = 'Alabama',
	top = 35.2,
	bottom = 29.9,
	left = -88.7,
	right = -84.7,
	image = 'USA Alabama location map.svg',
	image1 = 'USA Alabama relief location map.svg'
}