Lyra – La Lira
Lyra
var $j = jQuery.noConflict(true); var sky = S.virtualsky({});
$j(document).ready(function() { console.log($j().jquery); // This prints v1.9.1
//if($j('#starmap1').width()<=0) { //var width = 0==0 ? Math.min(window.innerWidth - 150) : 0; setTimeout(() => { var width = 0==0 ? $j('#starmap1').parent().width() : 0; width = Math.min(width, document.body.offsetWidth); //alert(width) $j('#starmap1').css('width', width +'px');
var planetarium = S.virtualsky({ id: 'starmap1', projection: 'gnomic', constellations: true, longitude: longi, latitude: latit, constellationlabels: true, //showgalaxy: true, fov: 26.925601909533, ra: 285.17916666667, dec: 36.683333333333,
}); planetarium.addPointer({ 'ra': 289.14820833333334, 'dec': 30.183472222222214, 'label':'M56','img':'/images/n/M56_30m_22s_3.png', 'url':'/astro/objectInfo.php?object=M56',//'credit':'look', 'colour':'rgb(255,220,220)'
}); planetarium.addPointer({ 'ra': 283.39623652463, 'dec': 33.029134246539996, 'label':'M57 - Ring Nebula','img':'/images/previews/M57.png', 'url':'/astro/objectInfo.php?object=M57',//'credit':'look', 'colour':'rgb(255,220,220)'
}); }, 2000); }
});