mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-15 06:23:24 -08:00
7 lines
3.4 KiB
JSON
7 lines
3.4 KiB
JSON
{
|
|
"title": "Visualisation of planetary data",
|
|
"html": "<link rel='stylesheet' href='http://aladin.u-strasbg.fr/AladinLite/api/v2/beta/aladin.min.css' />\n<script type='text/javascript' src='http://code.jquery.com/jquery-1.9.1.min.js' charset='utf-8'></script>\n\n<div id='aladin-lite-div' style='width: 500px;height: 500px;'></div>\n<script type='text/javascript' src='http://aladin.u-strasbg.fr/AladinLite/api/v2/beta/aladin.min.js' charset='utf-8'></script>\n",
|
|
"js": "var aladin = A.aladin('#aladin-lite-div', {target: '240 +10.65', cooFrame: 'j2000d', fov: 90, showFrame: false, showLayersControl: false, showGotoControl: false, fullScreen: true});\nvar mars = aladin.createImageSurvey('Mars', 'Mars', 'http://alasky.u-strasbg.fr/Planets/Mars_Viking_MDIM21/', 'j2000', 5, {longitudeReversed: true});\naladin.setImageSurvey(mars);\n\nvar c = document.createElement('canvas'); c.width = c.height = 11; var ctx = c.getContext('2d'); ctx.beginPath(); ctx.arc(5, 5, 4, 0, 2 * Math.PI, false); ctx.closePath(); ctx.strokeStyle = '#ccc'; ctx.lineWidth = 2; ctx.stroke();\n\nvar geoFeatures = A.catalog({shape: c, labelColumn: 'name', displayLabel: true, labelColor: '#fff', labelFont: '14px sans-serif'});\naladin.addCatalog(geoFeatures);\n\ngeoFeatures.addSources(A.source(226.2, 18.65, {name: 'Olympus Mons'}));\ngeoFeatures.addSources(A.source(70.5, -42.4, {name: 'Hellas Planitia'}));\ngeoFeatures.addSources(A.source(250.4, 40.5, {name: 'Alba Mons'}));\ngeoFeatures.addSources(A.source(-59.2, -13.9, {name: 'Valles Marineris'}));\ngeoFeatures.addSources(A.source(147.21, 25.02, {name: 'Elysium Mons'}));\ngeoFeatures.addSources(A.source(316.0, -49.7, {name: 'Argyre Basin'}));\ngeoFeatures.addSources(A.source(32.53, 70, {name: 'Vastitas Borealis'}));\ngeoFeatures.addSources(A.source(-112.58, 1.57, {name: 'Tharsis Montes'}));\ngeoFeatures.addSources(A.source(298, 25, {name: 'Outflow channels'}));\ngeoFeatures.addSources(A.source(30, 19.79, {name: 'Arabia Terra'}));\ngeoFeatures.addSources(A.source(70.5, -42.4, {name: 'Hellas Basin'}));\ngeoFeatures.addSources(A.source(280, 45, {name: 'Tempe Terra'}));\ngeoFeatures.addSources(A.source(87, 12.9, {name: 'Isidis Basin'}));\ngeoFeatures.addSources(A.source(117.5, 46.7, {name: 'Utopia Basin'}));\ngeoFeatures.addSources(A.source(350, -45, {name: 'Noachis Terra'}));\n\nvar landingSites = A.catalog({sourceSize: 16}); aladin.addCatalog(landingSites);\n\nlandingSites.addSources([A.marker(-47.95, 22.27, {popupTitle: 'Viking 1', popupDesc: 'Landing date: July 20, 1976 11:53:06'})]);\nlandingSites.addSources([A.marker(-125.7, 68.22, {popupTitle: 'Phoenix', popupDesc: 'Landing date: May 25, 2008 23:53:44 UTC'})]);\nlandingSites.addSources([A.marker(-33.22, 19.13, {popupTitle: 'Pathfinder', popupDesc: 'Landing date: July 4, 1997 16:56:55 UTC'})]);\nlandingSites.addSources([A.marker(354.4734, -1.9462, {popupTitle: 'Opportunity', popupDesc: 'Landing date: January 25, 2004, 05:05 UTC'})]);\nlandingSites.addSources([A.marker(-225.71, 47.64, {popupTitle: 'Viking 2', popupDesc: 'Landing date: September 3, 1976 22:37:50'})]);\nlandingSites.addSources([A.marker(175.472636, -14.5684, {popupTitle: 'Spirit', popupDesc: 'Landing date: January 4, 2004, 04:35 UTC '})]);\nlandingSites.addSources([A.marker(137.4417, -4.5895, {popupTitle: 'Curiosity', popupDesc: 'Landing date: August 6, 2012, 05:17 UTC '})]) ",
|
|
"explain": "Mars Viking MDIM 2.1 images with overlaid major topographical features and landing location of some missions (blue markers)"
|
|
}
|