Jump to content

Module:Location map/data/United States Lahaina/doc

From Wikipedia, the free encyclopedia


Location map of Lahaina, Hawaii
name Lahaina, Hawaii
border
coordinates
20.907
-156.6967 ←↕→ -156.6429
20.8485
map center 20°52′40″N 156°40′11″W / 20.87775°N 156.6698°W / 20.87775; -156.6698
image Location map Lahaina.png
image1 [[:File:|]]
[[File:|400x400px]]
Map of Lahania, Maui County

Module:Location map/data/United States Lahaina is a location map definition used to overlay markers and labels on an equirectangular projection map of Lahaina, Hawaii. 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 Lahaina":

Map definition

  • name = Lahaina, Hawaii
    Name used in the default map caption
  • bottom = 20.8485
    Latitude at bottom edge of map, in decimal degrees
  • left = -156.6967
    Longitude at left edge of map, in decimal degrees
  • right = -156.6429
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.0538 degrees.

  • At an image width of 200 pixels, that is 0.0003 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0001 degrees per pixel.

Latitude: from North to South this map definition covers 0.0585 degrees.

  • At an image height of 200 pixels, that is 0.0003 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0001 degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Lahaina Banyan Court Park is located in Lahaina, Hawaii
Lahaina Banyan Court Park
Lahaina Banyan Court Park
Lahaina Banyan Court Park (Lahaina, Hawaii)
{{Location map | United States Lahaina
 | width   = 250
 | lat_deg = 20.8718
 | lon_deg = -156.6776
 | label   = Lahaina Banyan Court Park
}}

Location map many

Location map/data/United States Lahaina/doc is located in Lahaina, Hawaii
Lahaina Banyan Court Park
Lahaina Banyan Court Park
Old Lahaina Luau
Old Lahaina Luau
Two locations in Lahaina
{{Location map many | United States Lahaina
 | width    = 250
 | caption  = Two locations in Lahaina
 | lat1_deg = 20.8718
 | lon1_deg = -156.6776
 | label1   = Lahaina Banyan Court Park
 | lat2_deg = 20.8861
 | lon2_deg = -156.6852
 | label2   = Old Lahaina Luau
 | mark2    = Pig silhouette 02.svg
 | mark2size= 15
 | position2= bottom
}}

Location map+

{{Location map+ | United States Lahaina
| width   = 200
| caption = Four locations in Lahaina
| places  =
  {{Location map~ | United States Lahaina
   | lat_deg = 20.8718
   | lon_deg = -156.6776
   | label   = ↑<br/>[[Lahaina Banyan Court Park]]
   | position= bottom
  }}
  {{Location map~ | United States Lahaina
   | lat_deg = 20.8861
   | lon_deg = -156.6852
   | label   = Old Lahaina Luau
   | mark    = Pig silhouette 02.svg
   | marksize= 15
   | position= top
  }}
  {{Location map~ | United States Lahaina
   | lat_deg = 20.8877
   | lon_deg = -156.6603
   | label   = [[Lahainaluna High School]]
  }}
  {{Location map~ | United States Lahaina
   | lat_deg = 20.8764
   | lon_deg = -156.6804
   | label   = ← [[Wo Hing Society Hall|Wo Hing]]
   | position= right
  }}
}}

See also

Location map templates

Creating new map definitions