Module:Location map/data/France Paris and inner ring
From HandWiki
< Module:Location map
Revision as of 19:32, 23 November 2015 by imported>Frietjes (tweak)
name | Paris and inner ring | ||
---|---|---|---|
x | 211.234*($2 - 2.13595) + 5.96075*($1 - 49.0225) | ||
y | -4.72007*($2 - 2.13595) - 302.597*($1 - 49.0225) | ||
image | Paris and inner ring.svg
| ||
![]() |
![](/wiki/images/thumb/5/5b/Paris_and_inner_ring.svg/250px-Paris_and_inner_ring.svg.png)
Map of fr:Unité urbaine de Paris
Module:Location map/data/France Paris and inner ring is a location map definition used to overlay markers and labels on an equirectangular projection map of Paris and inner ring. 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 Paris and inner ring":
{{Location map|France Paris and inner ring |...}}
{{Location map many|France Paris and inner ring |...}}
{{Location map+|France Paris and inner ring |...}}
{{Location map~|France Paris and inner ring |...}}
Map definition
name = Paris and inner ring
- Name used in the default map caption
image = Paris and inner ring.svg
- The default map image, without "Image:" or "File:"
x = 211.234*($2 - 2.13595) + 5.96075*($1 - 49.0225)
- An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
y = -4.72007*($2 - 2.13595) - 302.597*($1 - 49.0225)
- An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge
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 = 'Paris and inner ring', x = '211.234*($2 - 2.13595) + 5.96075*($1 - 49.0225)', y = '-4.72007*($2 - 2.13595) - 302.597*($1 - 49.0225)', image = 'Paris and inner ring.svg' }