Mòdul:Location map/data/Amèrica
A continuació es mostra la documentació transclosa de la subpàgina /ús. [salta a la caixa de codi]
nom | Amèrica | ||
---|---|---|---|
x | 50.67894037 + 100 * 0.4330374692 * cos($1*pi/180) * sin(($2+90)*pi/180) * ( (( 1 + cos(($1-20)*pi/180) + cos($1*pi/180) * cos(20*pi/180) * (cos(($2+90)*pi/180)- 1) )*0.5)^ -0.5 ) | ||
y | 50.8714553 - 100 * 0.383328363 * ( sin(($1-20)*pi/180) - cos($1*pi/180) * sin(20*pi/180) * (cos(($2+90)*pi/180)- 1) ) * ( (( 1 + cos(($1-20)*pi/180) + cos($1*pi/180) * cos(20*pi/180) * (cos(($2+90)*pi/180)- 1) )*0.5)^ -0.5 ) | ||
imatge | Americas laea location map with borders.svg
| ||
Mòdul:Location map/data/Amèrica és una definició de mapa geogràfic que s'utilitza per superposar marcadors i etiquetes en un mapa de projecció cilíndrica equidistant de Amèrica. Els marcadors es col·loquen per cordenades amb latitud i longitud al mapa predeterminat o en una imatge de mapa similar.
Ús
Aquestes definicions les fan servir les plantilles següents quan s'invoquen amb un paràmetre "Amèrica":
((Location map|Amèrica |...))
((Location map many|Amèrica |...))
((Location map+|Amèrica |...))
((Location map~|Amèrica |...))
Definició del mapa
name = Amèrica
- Nom utilitzat al subtítol del mapa predeterminat
image = Americas laea location map with borders.svg
- La imatge del mapa predeterminada, sense "Image:" o "File:"
x = 50.67894037 + 100 * 0.4330374692 * cos($1*pi/180) * sin(($2+90)*pi/180) * ( (( 1 + cos(($1-20)*pi/180) + cos($1*pi/180) * cos(20*pi/180) * (cos(($2+90)*pi/180)- 1) )*0.5)^ -0.5 )
- Una expressió per calcular una ubicació al mapa mitjançant la seva longitud; s'avalua com a 0 a la vora esquerra i 100 a la vora dreta
y = 50.8714553 - 100 * 0.383328363 * ( sin(($1-20)*pi/180) - cos($1*pi/180) * sin(20*pi/180) * (cos(($2+90)*pi/180)- 1) ) * ( (( 1 + cos(($1-20)*pi/180) + cos($1*pi/180) * cos(20*pi/180) * (cos(($2+90)*pi/180)- 1) )*0.5)^ -0.5 )
- Una expressió per calcular una ubicació al mapa mitjançant la seva latitud; s'avalua com a 0 a la vora superior i 100 a la vora inferior
Vegeu també
Plantilles de mapes
- Plantilla:Location map, per mostrar una marca i una etiqueta utilitzant la latitud i la longitud
- Plantilla:Location map many, per mostrar fins a nou marques i etiquetes
- Plantilla:Location map+, per mostrar un nombre il·limitat de marques i etiquetes
Creació de noves definicions de mapes
return {
name = 'Amèrica',
y = '50.8714553 - 100 * 0.383328363 * ( sin(($1-20)*pi/180) - cos($1*pi/180) * sin(20*pi/180) * (cos(($2+90)*pi/180)- 1) ) * ( (( 1 + cos(($1-20)*pi/180) + cos($1*pi/180) * cos(20*pi/180) * (cos(($2+90)*pi/180)- 1) )*0.5)^ -0.5 )',
x = '50.67894037 + 100 * 0.4330374692 * cos($1*pi/180) * sin(($2+90)*pi/180) * ( (( 1 + cos(($1-20)*pi/180) + cos($1*pi/180) * cos(20*pi/180) * (cos(($2+90)*pi/180)- 1) )*0.5)^ -0.5 )',
image = 'Americas laea location map with borders.svg'
}
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.