Jump to content

Module:Location map/data/Spain and Module:Location map/data/Spain/sandbox: Difference between pages

(Difference between pages)
Content deleted Content added
Use maps from German WP (de:Vorlage:Positionskarte Spanien) which has logic to make the map work in the Canary Islands inset. Looks find with testing, but please revert if the is a problem (old version saved in the sandbox for comparison)
 
Saving old version for comparison
 
Line 1: Line 1:
return {
return {
name = 'Spain',
name = 'Spain',
top = 44.4,
x = '100*(($2 < -10)*($2+26.925)/(-13.2+26.925) + ($2 >= -10)*($2+9.9)/(4.8+9.9))',
bottom = 34.7,
y = '100*(($2 < -10)*(38.1-$1)/(38.1-27.4) + ($2 >= -10)*(44.4-$1)/(44.4-34.7))',
left = -9.9,
image = 'Spain adm location map.svg',
right = 4.8,
image1 = 'Spain rel location map.svg',
image = 'Spain location map.svg',
image1 = 'Reliefkarte Spanien mit Kanaren.png',
image2 = 'Spain location map.svg'
image2 = 'Spain location map.svg'
}
}