Module:Location map/data/USA Louisiana Lafayette
Lua error: expandTemplate: template "coord" does not exist.
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":
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)
{{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
{{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
Creating new map definitions
return { name = 'Lafayette', top = 30.2418, bottom = 30.2036, left = -92.0358, right = -91.9966, image = 'Lafayette, Louisiana.png' }