Module:Location map/data/United States Lahaina

MyWikiBiz, Author Your Legacy — Saturday May 11, 2024
Jump to navigationJump to search

Template:Module rating Lua error: expandTemplate: template "coord" does not exist.

File:Location map Lahaina.png
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)

Template:Location map

{{Location map | United States Lahaina
 | width   = 250
 | lat_deg = 20.8718
 | lon_deg = -156.6776
 | label   = Lahaina Banyan Court Park
}}

Template:Clear

Location map many

Template:Location map many

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

Template:Clear

Location map+

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

Template:Clear

See also

Location map templates

Creating new map definitions



return {
	name = 'Lahaina, Hawaii',
	image = 'Location map Lahaina.png',
	image1 = '',
	top = 20.9070,
	bottom = 20.8485,
	left = -156.6967,
	right = -156.6429
	}