From 057abf093bb1646ce4fba3bb028a70ab97aeada2 Mon Sep 17 00:00:00 2001 From: tboch Date: Fri, 25 Aug 2017 13:52:33 +0000 Subject: [PATCH] update doc for new MOC option --- website/doc/API/index.gml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/website/doc/API/index.gml b/website/doc/API/index.gml index f110aa0e..ec21d1e3 100644 --- a/website/doc/API/index.gml +++ b/website/doc/API/index.gml @@ -257,7 +257,19 @@ aladin.addOverlay(overlay);

The moc object can then be added to aladin using aladin.addMOC(moc);

-

Overlay options are: color, lineWidth and opacity (default: 1). If opacity is 1, only the outlines of the MOC are drawn.

+

Available overlay options are liste below: + + + + + + + + + + +
Key nameDescription
colorColor of the MOC
lineWidthLine width of the outlines, in pixels
opacityA float between 0 and 1. If opacity is equal to 1 (default), only the outlines of the MOC will be drawn.
adaptativeDisplayBy default, the resolution of the displayed MOC is degraded for large field of views. This can be turned off by passing false to this property.
+

Examples:
SDSS DR9 MOC created by pointing to a URL