Module:Location map/data/United States Hawaii (island)
From HandWiki
< Module:Location map
Revision as of 11:29, 25 October 2017 by imported>Mliu92 (Reduced water shown, updating coordinates.)
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
name | Hawaii (island) | |||
---|---|---|---|---|
border coordinates | ||||
20.3318 | ||||
-156.1212 | ←↕→ | -154.7493 | ||
18.8543 | ||||
map center | [ ⚑ ] 19°35′35″N 155°26′07″W / 19.59305°N 155.43525°W | |||
image | Map of Hawaii.png
| |||
image1 | [[:File:|]]
| |||
[[File:|400x400px]] |
Module:Location map/data/United States Hawaii (island) is a location map definition used to overlay markers and labels on an equirectangular projection map of Hawaii (island). 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 Hawaii (island)":
{{Location map|United States Hawaii (island) |...}}
{{Location map many|United States Hawaii (island) |...}}
{{Location map+|United States Hawaii (island) |...}}
{{Location map~|United States Hawaii (island) |...}}
Map definition
name = Hawaii (island)
- Name used in the default map caption
image = Map of Hawaii.png
- The default map image, without "Image:" or "File:"
top = 20.3318
- Latitude at top edge of map, in decimal degrees
bottom = 18.8543
- Latitude at bottom edge of map, in decimal degrees
left = -156.1212
- Longitude at left edge of map, in decimal degrees
right = -154.7493
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 1.3719 degrees.
- At an image width of 200 pixels, that is 0.0069 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0014 degrees per pixel.
Latitude: from North to South this map definition covers 1.4775 degrees.
- At an image height of 200 pixels, that is 0.0074 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0015 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | United States Hawaii (island) | width = 250 | lat_deg = 19.65 | lon_deg = -155.994 | label = Kailua-Kona }}
Location map many
{{Location map many | United States Hawaii (island) | width = 250 | caption = Two locations in Hawaii | lat1_deg = 19.65 | lon1_deg = -155.994 | label1 = Kailua-Kona | lat2_deg = 19.821 | lon2_deg = -155.468 | label2 = Mauna Kea | mark2 = Red triangle with thick white border.svg | mark2size= 16 }}
Location map+
{{Location map+ | United States Hawaii (island) | width = 200 | caption = Four locations in Hawaii | places = {{Location map~ | United States Hawaii (island) | lat_deg = 19.65 | lon_deg = -155.994 | label = [[Kailua, Hawaii County, Hawaii|Kailua-Kona]] }} {{Location map~ | United States Hawaii (island) | lat_deg = 19.821 | lon_deg = -155.468 | label = [[Mauna Kea]] | mark = Red triangle with thick white border.svg | marksize= 16 }} {{Location map~ | United States Hawaii (island) | lat_deg = 19.421 | lon_deg = -155.287 | label = ↑<br/>[[Kīlauea]] | mark = Red triangle with thick white border.svg | marksize= 16 | position= bottom }} {{Location map~ | United States Hawaii (island) | lat_deg = 20.009 | lon_deg = -155.671 | label = [[Parker Ranch]] | 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
return { name = 'Hawaii (island)', image = 'Map of Hawaii.png', image1 = '', top = 20.3318, bottom = 18.8543, left = -156.1212, right = -154.7493 }