Module:Location map/data/France Rhône-Alpes

MyWikiBiz, Author Your Legacy — Saturday November 09, 2024
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

File:Rhône-Alpes in France.svg
Location of Rhône-Alpes in France

Module:Location map/data/France Rhône-Alpes is a location map definition used to overlay markers and labels on an equirectangular projection map of Rhône-Alpes. 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 "France Rhône-Alpes":

Map definition

  • name = Rhône-Alpes
    Name used in the default map caption
  • bottom = 43.88134766
    Latitude at bottom edge of map, in decimal degrees
  • left = 3.285741088
    Longitude at left edge of map, in decimal degrees
  • right = 7.569230769
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

Longitude: from West to East this map definition covers 4.2835 degrees.

  • At an image width of 200 pixels, that is 0.0214 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0043 degrees per pixel.

Latitude: from North to South this map definition covers 2.9736 degrees.

  • At an image height of 200 pixels, that is 0.0149 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.003 degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | France Rhône-Alpes
| width   = 250
| lat_deg = 45.759
| lon_deg = 4.842
| label   = Lyon
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{Location map many | France Rhône-Alpes
| relief   = yes
| width    = 250
| caption  = Locations in the Rhône-Alpes region
| lat1_deg = 45.759
| lon1_deg = 4.842
| label1   = Lyon
| pos1     = left
| lat2_deg = 45.916
| lon2_deg = 6.133
| label2   = Annecy
| pos2     = left
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | France Rhône-Alpes
| AlternativeMap = 22-Région-fr-Rhône-Alpes-carte-R1.png
| width   = 250
| caption = Locations in the Rhône-Alpes region
| places  =
  {{Location map~ | France Rhône-Alpes
  | lat_deg  = 45.759
  | lon_deg  = 4.842
  | label    = Lyon
  | position = left
  }}
  {{Location map~ | France Rhône-Alpes
  | lat_deg  = 45.916
  | lon_deg  = 6.133
  | label    = Annecy
  | position = left
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Rhône-Alpes',
	top = 46.85498047,
	bottom = 43.88134766,
	left = 3.285741088,
	right = 7.569230769,
	image = 'Rhône-Alpes-Loc-2015.png',
	image1 = '22-Région-fr-Rhône-Alpes-carte-R1-2015.png'
}