Jump to content

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

From Simple English Wikipedia, the free encyclopedia


Location map of Rhône-Alpes
name Rhône-Alpes
border
coordinates
46.85498047
3.285741088 ←↕→ 7.569230769
43.88134766
map center 45°22′05″N 5°25′39″E / 45.368164065°N 5.4274859285°E / 45.368164065; 5.4274859285
image Rhône-Alpes-Loc-2015.png
image1 22-Région-fr-Rhône-Alpes-carte-R1-2015.png
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)

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

Location map many, using relief map (image1)

Location map/data/France Rhône-Alpes is located in Rhône-Alpes
Lyon
Lyon
Annecy
Annecy
Locations in the Rhône-Alpes region
{{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
}}

Location map+, using AlternativeMap

Location map/data/France Rhône-Alpes is located in Rhône-Alpes
Lyon
Lyon
Annecy
Annecy
Locations in the Rhône-Alpes region
{{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
  }}
}}

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