Module:Location map/data/United States Oahu

From imedwiki
Jump to navigation Jump to search
Location map of 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 / 21.47955; -157.9772
image Map of Oahu 2.png
Map of Oahu 2.png
image1 [[:File:|]]
[[File:|400x400px]]
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":

Map definition

  • name = Oahu
    Name used in the default map caption
  • 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 is located in Oahu
Honolulu
Honolulu
Honolulu (Oahu)
{{Location map | United States Oahu
 | width   = 250
 | lat_deg = 21.3
 | lon_deg = -157.817
 | label   = Honolulu
}}

Location map many

Template:Location map many

{{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

Creating new map definitions



return {
	name = 'Oahu',
	image = 'Map of Oahu 2.png',
	image1 = '',
	top = 21.7901,
	bottom = 21.1690,
	left = -158.3384,
	right = -157.6160
	}