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

From imedwiki
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/United States Maui

Location map of Maui
name Maui
border
coordinates
21.0851
-156.7502 ←↕→ -155.9269
20.4714
map center 20°46′42″N 156°20′19″W / 20.77825°N 156.33855°W / 20.77825; -156.33855
image Location map Maui.png
Location map Maui.png
image1 [[:File:|]]
[[File:|400x400px]]
Map of Maui and Kahoolawe

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

Map definition

  • name = Maui
    Name used in the default map caption
  • bottom = 20.4714
    Latitude at bottom edge of map, in decimal degrees
  • left = -156.7502
    Longitude at left edge of map, in decimal degrees
  • right = -155.9269
    Longitude at right edge of map, in decimal degrees

Precision

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

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

Latitude: from North to South this map definition covers 0.6137 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)

Kahoʻolawe is located in Maui
Kahoʻolawe
Kahoʻolawe
Kahoʻolawe (Maui)
{{Location map | United States Maui
 | width   = 250
 | lat_deg = 20.55
 | lon_deg = -156.6
 | label   = Kahoʻolawe
}}

Location map many

Template:Location map many

{{Location map many | United States Maui
 | width    = 250
 | caption  = Two locations in Maui
 | lat1_deg = 20.886
 | lon1_deg = -156.675
 | label1   = Lahaina
 | lat2_deg = 20.71
 | lon2_deg = -156.253
 | label2   = Haleakalā
 | mark2    = Red triangle with thick white border.svg
 | mark2size= 16
}}

Location map+

Four locations in Maui
{{Location map+ | United States Maui
| width   = 200
| caption = Four locations in Maui
| places  =
  {{Location map~ | United States Maui
   | lat_deg = 20.886
   | lon_deg = -156.675
   | label   = [[Lahaina, Hawaii|Lahaina]]
  }}
  {{Location map~ | United States Maui
   | lat_deg = 20.71
   | lon_deg = -156.253
   | label   = [[Haleakalā]]
   | mark    = Red triangle with thick white border.svg
   | marksize= 16
  }}
  {{Location map~ | United States Maui
   | lat_deg = 20.77
   | lon_deg = -155.994
   | label   = [[Hana, Hawaii|Hana]]
  }}
  {{Location map~ | United States Maui
   | lat_deg = 20.69
   | lon_deg = -156.439
   | label   = [[Wailea, Hawaii|Wailea]]
   | position= bottom
  }}
}}

See also

Location map templates

Creating new map definitions