Module:Location map/data/USA Louisiana Lafayette

< Module:Location map
Revision as of 03:36, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Template:Location map

{{Location map | Lafayette
| width   = 300
| lat_deg = 30.2272
| lon_deg = -92.01696
| label   = Evangeline Hotel
| label_size = 60
}}

Template:Clear

Location map many, using defaul map (image)

Template:Location map many

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

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

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

Template:Clear

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'
}