Module:Location map/data/United States Oahu
Jump to navigation
Jump to search
File:Map of Oahu 3.svgMap of Oahu
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
| name | Oahu | |||
|---|---|---|---|---|
| border coordinates | ||||
| 21.72933151 | ||||
| -158.30420364 | ←↕→ | -157.62506176 | ||
| 21.23667251 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Map of Oahu 3.svg
| |||
| File:Map of Oahu 3.svg | ||||
| image1 | [[:File:|]]
| |||
| [[File:|400x400px]] | ||||
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 3.svg- The default map image, without "Image:" or "File:"
top = 21.72933151- Latitude at top edge of map, in decimal degrees
bottom = 21.23667251- Latitude at bottom edge of map, in decimal degrees
left = -158.30420364- Longitude at left edge of map, in decimal degrees
right = -157.62506176- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.6791 degrees.
- At an image width of 200 pixels, that is 0.0034 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.4927 degrees.
- At an image height of 200 pixels, that is 0.0025 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0005 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
Honolulu is located in Oahu
Honolulu
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
Creating new map definitions