Module:Location map/data/United States Hawaii (island)

From imedwiki
Jump to navigation Jump to search
Location map of Hawaii (island)
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 / 19.59305; -155.43525
image Map of Hawaii.png
Map of Hawaii.png
image1 [[:File:|]]
[[File:|400x400px]]
Map of Hawaii (island)

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)":

Map definition

  • name = Hawaii (island)
    Name used in the default map caption
  • 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)

Kailua-Kona is located in Hawaii (island)
Kailua-Kona
Kailua-Kona
Kailua-Kona (Hawaii (island))
{{Location map | United States Hawaii (island)
 | width   = 250
 | lat_deg = 19.65
 | lon_deg = -155.994
 | label   = Kailua-Kona
}}

Location map many

Template: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

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
	}