diff --git a/frontend-js/src/main/js/map/CustomMapOptions.js b/frontend-js/src/main/js/map/CustomMapOptions.js index c10921f98f7b2e1f74b2bc4b44803400ab335154..0c57bb21a4978e1d090f25ec68ac1a31f04b9d7c 100644 --- a/frontend-js/src/main/js/map/CustomMapOptions.js +++ b/frontend-js/src/main/js/map/CustomMapOptions.js @@ -46,6 +46,11 @@ CustomMapOptions.prototype.isBigLogo = function () { CustomMapOptions.prototype.getProject = function () { return this._project; }; + +/** + * + * @param {Project} project + */ CustomMapOptions.prototype.setProject = function (project) { this._project = project; }; @@ -67,6 +72,11 @@ CustomMapOptions.prototype.setPlugins = function (plugins) { CustomMapOptions.prototype.getConfiguration = function () { return this._configuration; }; + +/** + * + * @param {Configuration} configuration + */ CustomMapOptions.prototype.setConfiguration = function (configuration) { this._configuration = configuration; }; @@ -82,9 +92,19 @@ CustomMapOptions.prototype.getProjectId = function () { return this._projectId; } }; + +/** + * + * @param {string} projectId + */ CustomMapOptions.prototype.setProjectId = function (projectId) { this._projectId = projectId; }; + +/** + * + * @param {boolean} debug + */ CustomMapOptions.prototype.setDebug = function (debug) { if (debug !== undefined) { if (typeof debug !== "boolean") { @@ -102,6 +122,10 @@ CustomMapOptions.prototype.isDebug = function () { return this._debug === true; }; +/** + * + * @param {HTMLElement} element + */ CustomMapOptions.prototype.setElement = function (element) { this._element = element; };