update with cubehelix color map

This commit is contained in:
tboch
2015-12-09 08:45:05 +00:00
parent a85de77ad7
commit a6162bfc83

View File

@@ -1,6 +1,6 @@
{
"title": "Set the color map of an image layer",
"html": "<link rel='stylesheet' href='http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/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/latest/aladin.min.js' charset='utf-8'></script>\n",
"js": "var aladin = A.aladin('#aladin-lite-div', {cooFrame: 'galactic', target: 'galactic center', survey: 'P/Finkbeiner'});\n// possible values are 'native', 'grayscale', 'eosb' and 'rainbow'\naladin.getBaseImageLayer().getColorMap().update('rainbow');",
"js": "var aladin = A.aladin('#aladin-lite-div', {cooFrame: 'galactic', target: 'galactic center', survey: 'P/Finkbeiner'});\n// possible values are 'native', 'grayscale', 'cubehelix', 'eosb' and 'rainbow'\naladin.getBaseImageLayer().getColorMap().update('cubehelix');",
"explain": "Aladin Lite will be able to modify the color map if and only if the HTTP server hosting the image HiPS supports <a href='http://enable-cors.org/'>CORS (Cross-Origin Resource Sharing)</a>"
}