MediaWiki:Wikiminiatlas.js: Difference between revisions
(+el map) |
(TODO: fix zoomlevel scope) |
||
Line 19: | Line 19: | ||
}, | }, | ||
strings = { | strings = { | ||
buttonTooltip : { | |||
af:'Vertoon ligging op \'n interaktiwe kaart.', | af:'Vertoon ligging op \'n interaktiwe kaart.', | ||
als:'Ort uf dr interaktivä Chartä zeigä', | als:'Ort uf dr interaktivä Chartä zeigä', | ||
Line 36: | Line 36: | ||
dsb:'Městno na interaktiwnej kórśe zwobrazniś', | dsb:'Městno na interaktiwnej kórśe zwobrazniś', | ||
fa:'نمایش مکان در نقشهای پویا', | fa:'نمایش مکان در نقشهای پویا', | ||
el:' | el:'Εμφάνιση τοποθεσίας σε διαδραστικό χάρτη', | ||
en:'Show location on an interactive map', | en:'Show location on an interactive map', | ||
bn:'সক্রিয় মানচিত্রে অবস্থান চিহ্নিত করুন', | bn:'সক্রিয় মানচিত্রে অবস্থান চিহ্নিত করুন', | ||
Line 185: | Line 185: | ||
de: 'Größe ändern', | de: 'Größe ändern', | ||
dk: 'ændre størrelse', | dk: 'ændre størrelse', | ||
el: 'αλλαγή μεγέθους', | |||
en: 'resize', | en: 'resize', | ||
es: 'cambiar el tamaño', | es: 'cambiar el tamaño', | ||
Line 207: | Line 208: | ||
'zh-cn': '调整大小' | 'zh-cn': '调整大小' | ||
} | } | ||
}, | |||
// Get a specific, localized string | // Get a specific, localized string | ||
Line 218: | Line 219: | ||
iframe = { div: null, iframe: null, closebutton: null, resizebutton: null, resizehelper: null, indom: false }, | iframe = { div: null, iframe: null, closebutton: null, resizebutton: null, resizehelper: null, indom: false }, | ||
page_title = (mw.config.get('wgNamespaceNumber')==0) ? encodeURIComponent(mw.config.get('wgTitle')) : '', | page_title = ( mw.config.get('wgNamespaceNumber')===0 ) ? encodeURIComponent(mw.config.get('wgTitle')) : '', | ||
bodyc, | bodyc, | ||
Line 286: | Line 287: | ||
x: Math.cos(coord_list[i].lon/180.0*Math.PI), | x: Math.cos(coord_list[i].lon/180.0*Math.PI), | ||
y: Math.sin(coord_list[i].lon/180.0*Math.PI) | y: Math.sin(coord_list[i].lon/180.0*Math.PI) | ||
} | }; | ||
sx += geoext[i].x; | sx += geoext[i].x; | ||
sy += geoext[i].y; | sy += geoext[i].y; |