This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
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 | |||
image | Location map Maui.png
| |||
image1 | [[:File:|]]
| |||
[[File:|400x400px]] |
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":
{{Location map|United States Maui |...}}
{{Location map many|United States Maui |...}}
{{Location map+|United States Maui |...}}
{{Location map~|United States Maui |...}}
Map definition
name = Maui
- Name used in the default map caption
image = Location map Maui.png
- The default map image, without "Image:" or "File:"
top = 21.0851
- Latitude at top edge of map, in decimal degrees
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)
{{Location map | United States Maui | width = 250 | lat_deg = 20.55 | lon_deg = -156.6 | label = Kahoʻolawe }}
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+
{{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
- 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