diff --git a/api/custom-map-ui/bootstrap-ui.html b/api/custom-map-ui/bootstrap-ui.html
index c75b250..df0e0e6 100644
--- a/api/custom-map-ui/bootstrap-ui.html
+++ b/api/custom-map-ui/bootstrap-ui.html
@@ -45,9 +45,9 @@
Layers
-
-
-
+
+
+
diff --git a/api/custom-map-ui/custom-css-ui.html b/api/custom-map-ui/custom-css-ui.html
index c75b250..df0e0e6 100644
--- a/api/custom-map-ui/custom-css-ui.html
+++ b/api/custom-map-ui/custom-css-ui.html
@@ -45,9 +45,9 @@ Layers
-
-
-
+
+
+
diff --git a/api/custom-map-ui/custom-ui.js b/api/custom-map-ui/custom-ui.js
index 478166a..2902b85 100644
--- a/api/custom-map-ui/custom-ui.js
+++ b/api/custom-map-ui/custom-ui.js
@@ -1,13 +1,13 @@
CustomUI = {
initialize: function () {
- let layers = document.querySelectorAll("layer-");
+ let layers = document.querySelectorAll("map-layer");
let map = document.querySelector("mapml-viewer");
let mapObserver = new MutationObserver((m) => {
m.forEach((mut) => {
if (mut.type === "childList") {
mut.addedNodes.forEach((l) => {
- if (l.tagName === "LAYER-") {
+ if (l.tagName === "MAP-LAYER") {
CustomUI.addLayer(l);
}
});
diff --git a/api/custom-map-ui/geolocation-search-ui.html b/api/custom-map-ui/geolocation-search-ui.html
index e52639c..b8809d1 100644
--- a/api/custom-map-ui/geolocation-search-ui.html
+++ b/api/custom-map-ui/geolocation-search-ui.html
@@ -25,7 +25,7 @@
-
+
diff --git a/api/map-feature/index.html b/api/map-feature/index.html
index 93fc831..2d2df72 100644
--- a/api/map-feature/index.html
+++ b/api/map-feature/index.html
@@ -100,7 +100,7 @@
document.querySelector('map-feature').zoomTo();
}
function removeMan() {
- document.querySelector('layer-[label="Two Hat Man"]').remove();
+ document.querySelector('map-layer[label="Two Hat Man"]').remove();
toggleDisabled();
}
@@ -108,9 +108,9 @@
-
+
-
+
@@ -143,10 +143,10 @@
-
-
+ -->
diff --git a/api/pwa/file-handling/README.md b/api/pwa/file-handling/README.md
index 2da2531..64d02a5 100644
--- a/api/pwa/file-handling/README.md
+++ b/api/pwa/file-handling/README.md
@@ -132,7 +132,7 @@ In this post, we will not dive into all the details, so I will just show the sni
...
// Create the map with one layer
-
+
@@ -140,7 +140,7 @@ In this post, we will not dive into all the details, so I will just show the sni
-
+
...
```
diff --git a/api/pwa/file-handling/src/main-app.js b/api/pwa/file-handling/src/main-app.js
index e793967..0fe9879 100644
--- a/api/pwa/file-handling/src/main-app.js
+++ b/api/pwa/file-handling/src/main-app.js
@@ -135,7 +135,7 @@ mapml-viewer {
-
+
@@ -143,7 +143,7 @@ mapml-viewer {
-
+
Parchment icons created by Freepik - Flaticon
diff --git a/change-projection/default-projection/index.html b/change-projection/default-projection/index.html
index 667f204..f330908 100644
--- a/change-projection/default-projection/index.html
+++ b/change-projection/default-projection/index.html
@@ -23,7 +23,7 @@
-
+
Topo base
@@ -41,8 +41,8 @@
-
-
+
+
Copied OSMTILE pcrs location
@@ -55,7 +55,7 @@ Copied OSMTILE pcrs location
-
+