Module:Location map/data/USA Louisiana Lafayette

From HandWiki
< Module:Location map
Revision as of 07:36, 12 September 2018 by imported>Frietjes (Frietjes moved page Module:Location map/data/Lafayette to Module:Location map/data/USA Louisiana Lafayette without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Location map of Lafayette
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 / 30.2227; -92.0162
image Lafayette, Louisiana.png
Lafayette, Louisiana.png
Map of Lafayette

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
  • 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)

Lua error in Module:Location_map at line 522: Unable to find the specified location map definition: "Module:Location map/data/Lafayette" does not exist.

{{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)

Lua error in Module:Location_map/multi at line 143: Unable to find the specified location map definition: "Module:Location map/data/Lafayette" does not exist.

{{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

Lua error in Module:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/Lafayette" does not exist.

{{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

Creating new map definitions



return {
	name = 'Lafayette',
	top = 30.2418,
	bottom = 30.2036,
	left = -92.0358,
	right = -91.9966,
	image = 'Lafayette, Louisiana.png'
}