Module:Location map/data/USA Louisiana Lafayette/doc
Appearance
![]() | This is a documentation subpage for Module:Location map/data/USA Louisiana Lafayette. It may contain usage information, categories and other content that is not part of the original module page. |
name | Lafayette | |||
---|---|---|---|---|
border coordinates | ||||
30.2418 | ||||
-92.0358 | ←↕→ | -91.9966 | ||
30.2036 | ||||
map center | 30°13′22″N 92°00′58″W / 30.2227°N 92.0162°W | |||
image | Lafayette, Louisiana.png
| |||
![]() |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Lafayette%2C_Louisiana.png/250px-Lafayette%2C_Louisiana.png)
Module:Location map/data/USA Louisiana Lafayette is a location map definition used to overlay markers and labels on an equirectangular projection map of Lafayette. 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 "USA Louisiana Lafayette":
{{Location map|USA Louisiana Lafayette |...}}
{{Location map many|USA Louisiana Lafayette |...}}
{{Location map+|USA Louisiana Lafayette |...}}
{{Location map~|USA Louisiana Lafayette |...}}
Map definition
name = Lafayette
- Name used in the default map caption
image = Lafayette, Louisiana.png
- The default map image, without "Image:" or "File:"
top = 30.2418
- Latitude at top edge of map, in decimal degrees
bottom = 30.2036
- Latitude at bottom edge of map, in decimal degrees
left = -92.0358
- Longitude at left edge of map, in decimal degrees
right = -91.9966
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.0392 degrees.
- At an image width of 200 pixels, that is 0.0002 degrees per pixel.
- At an image width of 1000 pixels, that is 0 degrees per pixel.
Latitude: from North to South this map definition covers 0.0382 degrees.
- At an image height of 200 pixels, that is 0.0002 degrees per pixel.
- At an image height of 1000 pixels, that is 0 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | Lafayette | width = 300 | lat_deg = 30.2272 | lon_deg = -92.01696 | label = Evangeline Hotel | label_size = 60 }}
Location map many, using defaul map (image)
Two locations in Lafayette
{{Location map many | Lafayette | width = 300 | caption = Two locations in Lafayette | lat1_deg = 30.2272 | lon1_deg = -92.01696 | label1 = Evangeline Hotel | label1_size = 60 | lat2_deg = 30.21809 | lon2_deg = -92.02076 | label2 = Elrose | label2_size = 60 }}
Location map+, using AlternativeMap
Two locations in Lafayette
{{Location map+ | Lafayette | AlternativeMap = Lafayette, Louisiana.png | width = 300 | caption = Two locations in Lafayette | places = {{Location map~ | Lafayette | lat_deg = 30.2272 | lon_deg = -92.01696 | label = Evangeline Hotel | label_size = 60 }} {{Location map~ | Lafayette | lat_deg = 30.21809 | lon_deg = -92.02076 | label = Elrose | label_size = 60 }} }}
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