MediaWiki:Wikiminiatlas.js: Difference between revisions
(zoomlevel range is now taken care of in the iframe code, and we have zoomlevels up to 20 now!) |
(add sat map of the moon Titan) |
||
Line 383: | Line 383: | ||
function capitalize(s) { return s.substr(0,1).toUpperCase()+s.substr(1).toLowerCase(); } | function capitalize(s) { return s.substr(0,1).toUpperCase()+s.substr(1).toLowerCase(); } | ||
if( /_globe:([^_&]+)/.test(coord_params) ) { globe = capitalize(RegExp.$1); } | if( /_globe:([^_&]+)/.test(coord_params) ) { globe = capitalize(RegExp.$1); } | ||
if( globe!="Earth" && globe!="Moon" && globe!="Mars" && globe!="Venus" && globe!="Mercury" && globe!="Io" ) { return; } | if( globe!="Earth" && globe!="Moon" && globe!="Mars" && globe!="Venus" && globe!="Mercury" && globe!="Io" && globe!="Titan" ) { return; } | ||
// Test the unicode Symbol | // Test the unicode Symbol |