feat: Update compass layer and rose element id for v1.98.00

This commit is contained in:
Azgaar 2024-07-07 18:40:04 +02:00
parent e4f2de6472
commit fc7ef72628
20 changed files with 157 additions and 122 deletions

View file

@ -295,7 +295,7 @@ async function getMapURL(type, options) {
// add wind rose
if (cloneEl.getElementById("compass")) {
const rose = svgDefs.getElementById("rose");
const rose = svgDefs.getElementById("defs-compass-rose");
if (rose) cloneDefs.appendChild(rose.cloneNode(true));
}