Module:Location map/data/United States Lahaina
MyWikiBiz, Author Your Legacy — Saturday November 09, 2024
Jump to navigationJump to searchTemplate:Module rating Lua error: expandTemplate: template "coord" does not exist.
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
image = Location map Lahaina.png
- The default map image, without "Image:" or "File:"
top = 20.907
- Latitude at top edge of map, in decimal degrees
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)
{{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 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
- 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 = 'Lahaina, Hawaii', image = 'Location map Lahaina.png', image1 = '', top = 20.9070, bottom = 20.8485, left = -156.6967, right = -156.6429 }