Plantilya:Geobox locator Alabama/doc

Gikan sa Wikipedia, ang gawasnong ensiklopedya

Template:Geobox locator Alabama is a map definition which can be used to overlay a locator dot on an equirectangular projection map of the U.S. state of Alabama. The markers are placed by latitude and longitude coordinates on a map image which matches the borders defined by this template.

Usage[usba ang wikitext]

This template is used by Template:Geobox map and Template:Geobox2 map, supportive templates for infoboxes in the Category:Geobox series.

The {{Geobox}} template uses this map definition when it includes:

map_locator = Alabama

For the locator dot to be correctly placed, {{Geobox}} must also include:

map = Alabama Locator Map.PNG (or one of the other images shown below)

Calibrated map[usba ang wikitext]

The map definition is calibrated to the first image shown below. It will only work with other map images which share the same border coordinates. Plantilya:Stack Plantilya:Stack

Map definition[usba ang wikitext]

Map definition Map precision

Latitude at top edge, in decimal degrees:

top = 35.102658

Latitude at bottom edge, in decimal degrees: 

bottom = 30.131239

Longitude at left edge, in decimal degrees:

left = -88.540144

Longitude at right edge, in decimal degrees:

right = -84.844108

Height/width ratio of the calibrated image:

ratio = 1.546667

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

  • At the default image width of 256 pixels, that is 0.0144 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0037 degrees per pixel.

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

  • At the default image height of 396 pixels (256 × height/width ratio), that is 0.0126 degrees per pixel.
  • At an image height of 1547 pixels (1000 × height/width ratio), that is 0.0032 degrees per pixel.

Example[usba ang wikitext]

Montgomery
Tiganos 32°21′42″N 086°16′45″W / 32.36167°N 86.27917°W / 32.36167; -86.27917
{{Geobox
| name = Montgomery
| lat_d =  32 | lat_m = 21 | lat_s = 42 | lat_NS = N 
| long_d= 086 | long_m= 16 | long_s= 45 | long_EW= W
| map_locator = Alabama
| map = Alabama Locator Map.PNG
| map_size = 225 <!--actual image width-->
}}

Calibration tests[usba ang wikitext]

Geobox locator Alabama/doc is located in Alabama
Ardmore
Ardmore
Gulf Shores
Gulf Shores
Melvin
Melvin
Lanett
Lanett
same coordinates displayed via {{Location map many}}

See also[usba ang wikitext]