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

MyWikiBiz, Author Your Legacy — Saturday November 09, 2024
< Module:Location map‎ | data/United States Maui
Revision as of 04:19, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

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

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

Template:Location map

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

Template:Clear

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

Template:Clear

Location map+

Template:Location map+

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

Template:Clear

See also

Location map templates

Creating new map definitions