Jump to content

Module:Location map/data/USA Alabama/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wikid77 (talk | contribs) at 09:50, 8 November 2007 (created: removed from Template:Location_map_Alabama to limit template-resources used by "nonincluded" text). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The locator map definition, Template:Location_map_Alabama, is intended for overlaying markers and labels on similar maps of Alabama.

Some of the related mapping procedures are:

This template uses the mapping procedure "Template:Location_map" which must be invoked with parameter "Alabama" to process the options before it uses the template. Specify each of the individual parameters by using vertical bars: {{Location map | Alabama | ...}}.

When a map is not equirectangular, the coordinates will need to be adjusted to match northern-area mapping, or use skewed coordinates with "Template:Location map skew". For map width, omit "px" (width=160) or else map might expand and throw marker across page: the "px" cannot be detected in advance.
See: {{Location map}} for description of parameters, or Examples below.
Map for Alabama
Coordinates
Top 35.12
Bottom 30.12
Left -88.64
Right -84.85
skew 1.00

Examples

Huntsville is located in Alabama
Huntsville
Huntsville

Example labeling "Huntsville":

{{Location map
| Alabama
| label=Huntsville | position=top
| label_size = 90 <!--percent 0-900%-->
| caption = Show "Huntsville" on map
| lat_deg= 34  | lat_min=42.8
| lon_deg= -86 | lon_min= -35.2
| background = #FFFF99
| float = right
| width = 160 <!--DON'T add "px"-->
}}
Note that both lon_deg and lon_min are negative numbers, for the Western Hemisphere.
Mobile is located in Alabama
Mobile
Mobile
Show "Mobile" on map

Example for orange "Mobile" at bottom:

{{Location map
| Alabama
| label=Mobile | position=top
| label_size = 90 <!-- 0-900%-->
| caption = Show "Mobile" on map
| lat_deg= 30 | lat_min=40.8
| lon_deg= -88 | lon_min= -6.2
| background = <!--orange-->#FFCC66
| float = right
| width = 160 <!--DON'T add "px"-->
| AlternativeMap = <!-- none (default)-->
}}
left edge is located in Alabama
left edge
left edge
Show "left edge" on map

Example for green "left edge" at side:

{{Location map
| Alabama
| label=left edge | position=right
| label_size = 90 <--percent 0-900%
| caption = Show "left edge" on map
| lat = 31.10
| long = -88.64
| background = <!--green-->#33DD44
| float = right
| width = 160
}}
right edge is located in Alabama
right edge
right edge
Show map "right edge"

Example for green "right edge" at side:

{{Location map
| Alabama
| label=right edge | position=left
| label_size=90 <--percent 0-900%
| caption = Show map "right edge"
| lat = 31.10
| long = -84.85
| background = <!--green-->#33DD44
| float = right
| width = 160
}}