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