More info in Simbad'}), A.marker(204.9903125, 0.8309694444444445, {popupTitle: 'NGC 5258', popupDesc: 'Object type: Galaxy in Pair of Galaxies Morphological type: Sb
More info in Simbad'}), A.marker(204.9903125, 0.8309694444444445, {popupTitle: 'NGC 5258', popupDesc: 'Object type: Galaxy in Pair of Galaxies Morphological type: Sb
More info in Simbad'})]);\n\n var overlay = A.graphicOverlay({color: '#aa2222', lineWidth: 4});\n aladin.addOverlay(overlay);\n\n overlay.addFootprints(A.polygon([[204.970214, 0.81206], [204.97110047, 0.80993368], [204.978723, 0.79165], [204.999152, 0.800162], [204.99482125, 0.81055582], [205.002941, 0.813851], [204.99986816, 0.82141125], [205.010312, 0.825578], [205.002112, 0.846123], [204.981546, 0.837916], [204.98157771, 0.83783654], [204.962977, 0.830202], [204.9703941, 0.81213504]]));\n\naladin.displayJPG('http://images.ipac.caltech.edu/esahubble/heic0810at/esahubble_heic0810at_1600.jpg');",
"explain": "SDSS DR9 band r image of APG 240 pair of galaxies, with an overlaid HST image and a WFPC2 footprint."
}
diff --git a/website/doc/API/examples/configs/mars-visualisation.json b/website/doc/API/examples/configs/mars-visualisation.json
new file mode 100644
index 00000000..bb0ba7fe
--- /dev/null
+++ b/website/doc/API/examples/configs/mars-visualisation.json
@@ -0,0 +1,6 @@
+{
+ "title": "Visualisation of planetary data",
+ "html": "\n\n\n\n\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)"
+}