Module:Location map/data/United States Oahu/doc
This is the documentation page for Module:Location map/data/United States Oahu
| name | Oahu | |||
|---|---|---|---|---|
| border coordinates | ||||
| 21.7901 | ||||
| -158.3384 | ←↕→ | -157.616 | ||
| 21.169 | ||||
| map center | 21°28′46″N 157°58′38″W / 21.47955°N 157.9772°W ⧼validator-fatal-error⧽ | |||
| image | Map of Oahu 2.png | |||
| File:Map of Oahu 2.png | ||||
| image1 | [[:File:|]] | |||
| [[File:|400x400px]] | ||||
File:Map of Oahu 2.png  
Map of Oahu
Module:Location map/data/United States Oahu is a location map definition used to overlay markers and labels on an equirectangular projection map of Oahu. 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 "United States Oahu":
- {{Location map | United States Oahu | ...}}
- {{Location map many | United States Oahu | ...}}
- {{Location map+ | United States Oahu | ...}}
- {{Location map~ | United States Oahu | ...}}
Map definition
- name = Oahu- Name used in the default map caption
 
- image = Map of Oahu 2.png- The default map image, without "Image:" or "File:"
 
- top = 21.7901- Latitude at top edge of map, in decimal degrees
 
- bottom = 21.169- Latitude at bottom edge of map, in decimal degrees
 
- left = -158.3384- Longitude at left edge of map, in decimal degrees
 
- right = -157.616- Longitude at right edge of map, in decimal degrees
 
Precision
Longitude: from West to East this map definition covers 0.7224 degrees.
- At an image width of 200 pixels, that is 0.0036 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0007 degrees per pixel.
Latitude: from North to South this map definition covers 0.6211 degrees.
- At an image height of 200 pixels, that is 0.0031 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0006 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
Honolulu (Oahu)
{{Location map | United States Oahu
 | width   = 250
 | lat_deg = 21.3
 | lon_deg = -157.817
 | label   = Honolulu
}}
Location map many
Two locations in Oahu
{{Location map many | United States Oahu
 | width    = 250
 | caption  = Two locations in Oahu
 | lat1_deg = 21.3
 | lon1_deg = -157.817
 | label1   = Honolulu
 | lat2_deg = 21.3679
 | lon2_deg = -157.9771
 | label2   = Pearl Harbor
 | mark2    = Anchor pictogram.svg
 | mark2size= 16
 | position2= left
}}
Location map+
{{Location map+ | United States Oahu
| width   = 200
| caption = Four locations in Oahu
| places  =
  {{Location map~ | United States Oahu
   | lat_deg = 21.3
   | lon_deg = -157.817
   | label   = [[Honolulu]]
  }}
  {{Location map~ | United States Oahu
   | lat_deg = 21.3679
   | lon_deg = -157.9771
   | label   = [[Pearl Harbor]]
   | mark    = Anchor pictogram.svg
   | marksize= 16
   | position= left
  }}
  {{Location map~ | United States Oahu
   | lat_deg = 21.59
   | lon_deg = -158.114
   | label   = [[Haleiwa, Hawaii|Haleiwa]]
   | position= left
  }}
  {{Location map~ | United States Oahu
   | lat_deg = 21.388
   | lon_deg = -157.808
   | label   = [[Ho'omaluhia Botanical Garden]]
   | position= top
  }}
}}
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
