From 3f248a82ea48ebf35a4af2daa5f8dcf969b385c5 Mon Sep 17 00:00:00 2001 From: bmatthieu3 Date: Tue, 4 Mar 2025 17:12:24 +0100 Subject: [PATCH] add docs on HiPSOptions to explain some properties that prevent to fetch the properties file of a HiPS. Copied from #242 --- src/js/HiPS.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/js/HiPS.js b/src/js/HiPS.js index c39c5ec3..a9fd839b 100644 --- a/src/js/HiPS.js +++ b/src/js/HiPS.js @@ -129,6 +129,17 @@ PropertyParser.isPlanetaryBody = function (properties) { /** * HiPS options + * + * @description Minimal user provided properties will prevent Aladin Lite from fetching the properties file describing the HiPS properties. + * These minimal informations needed by aladin lite are: + * + * * @typedef {Object} HiPSOptions * @property {string} [name] - The name of the survey to be displayed in the UI * @property {Function} [successCallback] - A callback executed when the HiPS has been loaded