diff --git a/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php b/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php index 5d8a753a43b3..108830f5f3f8 100755 --- a/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php +++ b/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php @@ -1,8 +1,23 @@ - Extended GPL, see LICENSE */ +declare(strict_types=1); /** * User interface class for OpenLayers maps @@ -61,7 +76,6 @@ public function getHtml(): string ); $this->lng->loadLanguageModule("maps"); - $this->tpl->addCss("public/node_modules/ol/ol.css"); $this->tpl->addCss("components/ILIAS/Maps/css/service_openlayers.css"); $this->tpl->addJavaScript("assets/js/ServiceOpenLayers.js"); diff --git a/components/ILIAS/Maps/images/mm_20_blue.png b/components/ILIAS/Maps/images/mm_20_blue.png deleted file mode 100755 index 2ec9ae941ad2..000000000000 Binary files a/components/ILIAS/Maps/images/mm_20_blue.png and /dev/null differ diff --git a/components/ILIAS/Maps/images/mm_20_shadow.png b/components/ILIAS/Maps/images/mm_20_shadow.png deleted file mode 100755 index 3a89759fca2a..000000000000 Binary files a/components/ILIAS/Maps/images/mm_20_shadow.png and /dev/null differ diff --git a/components/ILIAS/Maps/js/src/ServiceOpenLayers.js b/components/ILIAS/Maps/js/src/ServiceOpenLayers.js index 53f2501139ff..1bcdfc534e71 100755 --- a/components/ILIAS/Maps/js/src/ServiceOpenLayers.js +++ b/components/ILIAS/Maps/js/src/ServiceOpenLayers.js @@ -1,3 +1,18 @@ +/** + * This file is part of ILIAS, a powerful learning management system + * published by ILIAS open source e-Learning e.V. + * + * ILIAS is licensed with the GPL-3.0, + * see https://www.gnu.org/licenses/gpl-3.0.en.html + * You should have received a copy of said license along with the + * source code, too. + * + * If this is not the case or you just want to try ILIAS, you'll find + * us at: + * https://www.ilias.de + * https://github.com/ILIAS-eLearning + */ + import View from 'ol/View'; import Map from 'ol/Map'; import TileLayer from 'ol/layer/Tile'; @@ -248,7 +263,7 @@ export default class ServiceOpenLayers { marker.setPosition(pos); this.map.addOverlay(marker); - element.innerHTML = ""; + element.innerHTML = ""; } /** diff --git a/components/ILIAS/Maps/resources/ServiceOpenLayers.js b/components/ILIAS/Maps/resources/ServiceOpenLayers.js index 165f0cf54dea..ae516d91b858 100644 --- a/components/ILIAS/Maps/resources/ServiceOpenLayers.js +++ b/components/ILIAS/Maps/resources/ServiceOpenLayers.js @@ -21445,7 +21445,7 @@ class ServiceOpenLayers { marker.setPosition(pos); this.map.addOverlay(marker); - element.innerHTML = ""; + element.innerHTML = ""; } /** diff --git a/components/ILIAS/Maps/templates/default/tpl.google_map.js b/components/ILIAS/Maps/templates/default/tpl.google_map.js index ce39bf71dca4..29fff34fa9c6 100755 --- a/components/ILIAS/Maps/templates/default/tpl.google_map.js +++ b/components/ILIAS/Maps/templates/default/tpl.google_map.js @@ -1,3 +1,18 @@ +/** + * This file is part of ILIAS, a powerful learning management system + * published by ILIAS open source e-Learning e.V. + * + * ILIAS is licensed with the GPL-3.0, + * see https://www.gnu.org/licenses/gpl-3.0.en.html + * You should have received a copy of said license along with the + * source code, too. + * + * If this is not the case or you just want to try ILIAS, you'll find + * us at: + * https://www.ilias.de + * https://github.com/ILIAS-eLearning + */ + ilMapData = Array(); ilMap = Array(); ilMapOptions = []; @@ -12,16 +27,10 @@ ilMapUserMarker["{UMAP_ID}"][{CNT}] = new Array({ULAT},{ULONG}, "