Module:Location map/data/United States Molokai-Lanai/doc

This is the documentation page for Module:Location map/data/United States Molokai-Lanai

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

File:Location Map Molokai-Lanai.png
Map of Molokai and Lanai

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

Map definition

  • name = Molokai and Lanai
    Name used in the default map caption
  • bottom = 20.6701
    Latitude at bottom edge of map, in decimal degrees
  • left = -157.3702
    Longitude at left edge of map, in decimal degrees
  • right = -156.6479
    Longitude at right edge of map, in decimal degrees

Precision

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

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

Latitude: from North to South this map definition covers 0.6231 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 Molokai-Lanai
 | width   = 250
 | lat_deg =  21 | lat_min = 11 | lat_sec = 22
 | lat_dir = N
 | lon_deg = 156 | lon_min = 58 | lon_sec = 54
 | lon_dir = W
 | label   = Kalaupapa
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | United States Molokai-Lanai
 | width    = 250
 | caption  = Two locations in Molokai and Lanai
 | lat1_deg =  21 | lat1_min = 11 | lat1_sec = 22
 | lat1_dir = N
 | lon1_deg = 156 | lon1_min = 58 | lon1_sec = 54
 | lon1_dir = W
 | label1   = Kalaupapa
 | lat2_deg =  20 | lat2_min = 49 | lat2_sec = 39
 | lat2_dir = N
 | lon2_deg = 156 | lon2_min = 55 | lon2_sec = 19
 | lon2_dir = W
 | label2   = Lanai City
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | United States Molokai-Lanai
| width   = 200
| caption = Four locations in Molokai and Lanai
| places  =
  {{Location map~ | United States Molokai-Lanai
   | lat_deg =  21 | lat_min = 11 | lat_sec = 22
   | lat_dir = N
   | lon_deg = 156 | lon_min = 58 | lon_sec = 54
   | lon_dir = W
   | label   = [[Kalaupapa, Hawaii|Kalaupapa]]
  }}
  {{Location map~ | United States Molokai-Lanai
   | lat_deg =  21 | lat_min =  6 | lat_sec = 23
   | lat_dir = N
   | lon_deg = 156 | lon_min = 52 | lon_sec =  6
   | lon_dir = W
   | label   = [[Kamakou]]
   | mark    = Red triangle with thick white border.svg
   | marksize= 16
   | position= 
  }}
  {{Location map~ | United States Molokai-Lanai
   | lat_deg =  20 | lat_min = 49 | lat_sec = 39
   | lat_dir = N
   | lon_deg = 156 | lon_min = 55 | lon_sec = 19
   | lon_dir = W
   | label   = [[Lanai City, Hawaii|Lanai City]]
  }}
  {{Location map~ | United States Molokai-Lanai
   | lat_deg =  21 | lat_min =  9 | lat_sec = 10
   | lat_dir = N
   | lon_deg = 157 | lon_min =  5 | lon_sec = 47
   | lon_dir = W
   | label   = [[Molokai Airport]]
   | mark    = Airplane silhouette.svg
   | marksize= 10
   | position= bottom
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions