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

MyWikiBiz, Author Your Legacy — Tuesday November 12, 2024
Jump to navigationJump to search

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

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

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

Map definition

  • name = Oahu
    Name used in the default map caption
  • bottom = 21.169
    Latitude at bottom edge of map, in decimal degrees
  • left = -158.3384
    Longitude at left edge of map, in decimal degrees
  • right = -157.616
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.7224 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.6211 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 Oahu
 | width   = 250
 | lat_deg = 21.3
 | lon_deg = -157.817
 | label   = Honolulu
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | United States Oahu
 | width    = 250
 | caption  = Two locations in Oahu
 | lat1_deg = 21.3
 | lon1_deg = -157.817
 | label1   = Honolulu
 | lat2_deg = 21.3679
 | lon2_deg = -157.9771
 | label2   = Pearl Harbor
 | mark2    = Anchor pictogram.svg
 | mark2size= 16
 | position2= left
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | United States Oahu
| width   = 200
| caption = Four locations in Oahu
| places  =
  {{Location map~ | United States Oahu
   | lat_deg = 21.3
   | lon_deg = -157.817
   | label   = [[Honolulu]]
  }}
  {{Location map~ | United States Oahu
   | lat_deg = 21.3679
   | lon_deg = -157.9771
   | label   = [[Pearl Harbor]]
   | mark    = Anchor pictogram.svg
   | marksize= 16
   | position= left
  }}
  {{Location map~ | United States Oahu
   | lat_deg = 21.59
   | lon_deg = -158.114
   | label   = [[Haleiwa, Hawaii|Haleiwa]]
   | position= left
  }}
  {{Location map~ | United States Oahu
   | lat_deg = 21.388
   | lon_deg = -157.808
   | label   = [[Ho'omaluhia Botanical Garden]]
   | position= top
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions