Module:Location map/data/United States Oahu
MyWikiBiz, Author Your Legacy — Tuesday November 12, 2024
Jump to navigationJump to searchTemplate: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
image = Map of Oahu 2.png
- The default map image, without "Image:" or "File:"
top = 21.7901
- Latitude at top edge of map, in decimal degrees
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)
{{Location map | United States Oahu | width = 250 | lat_deg = 21.3 | lon_deg = -157.817 | label = Honolulu }}
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 }}
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 }} }}
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 = 'Oahu', image = 'Map of Oahu 2.png', image1 = '', top = 21.7901, bottom = 21.1690, left = -158.3384, right = -157.6160 }