diff --git a/api/geojson/index.html b/api/geojson/index.html
index e7773d1..b4264e6 100644
--- a/api/geojson/index.html
+++ b/api/geojson/index.html
@@ -141,7 +141,7 @@
-
+
diff --git a/api/map-feature/index.html b/api/map-feature/index.html
index 4673c44..6d9ac3e 100644
--- a/api/map-feature/index.html
+++ b/api/map-feature/index.html
@@ -34,13 +34,12 @@
let map = document.querySelector('mapml-viewer');
let man = document.querySelector('#hatman').content.firstElementChild.cloneNode(true);
let layer = document.querySelector('#empty-layer').content.firstElementChild.cloneNode(true);
- layer.label = 'Two Hat Man';
- layer.checked = 'checked';
map.appendChild(layer);
layer.appendChild(man);
- // this step should not be necessary
- layer.remove();
- map.appendChild(layer);
+ // properties can't be set before the layer has been appended to the
+ // DOM via the getter/setter DOM api.
+ layer.label = 'Two Hat Man';
+ layer.checked = 'checked';
toggleDisabled();
}
function _doMan(action) {
@@ -99,7 +98,7 @@
document.querySelector('map-feature').zoomTo();
}
function removeMan() {
- document.querySelector('map-feature').remove();
+ document.querySelector('layer-[label="Two Hat Man"]').remove();
toggleDisabled();
}
@@ -142,7 +141,7 @@
-
+
diff --git a/change-projection/projection-negotiation/msi-cbmtile.mapml b/change-projection/projection-negotiation/msi-cbmtile.mapml
index 329f9d0..7848094 100644
--- a/change-projection/projection-negotiation/msi-cbmtile.mapml
+++ b/change-projection/projection-negotiation/msi-cbmtile.mapml
@@ -8,7 +8,7 @@
-
+
diff --git a/change-projection/projection-negotiation/msi-osmtile.mapml b/change-projection/projection-negotiation/msi-osmtile.mapml
index 841aec6..f6f59cf 100644
--- a/change-projection/projection-negotiation/msi-osmtile.mapml
+++ b/change-projection/projection-negotiation/msi-osmtile.mapml
@@ -9,7 +9,7 @@
-
+
diff --git a/change-projection/projection-negotiation/msi-tiles-osmtile.mapml b/change-projection/projection-negotiation/msi-tiles-osmtile.mapml
index 57b10ce..d0ecf4c 100644
--- a/change-projection/projection-negotiation/msi-tiles-osmtile.mapml
+++ b/change-projection/projection-negotiation/msi-tiles-osmtile.mapml
@@ -9,7 +9,7 @@
-
+
diff --git a/change-projection/projection-negotiation/msi-tiles.mapml b/change-projection/projection-negotiation/msi-tiles.mapml
index d4152b6..0401ba8 100644
--- a/change-projection/projection-negotiation/msi-tiles.mapml
+++ b/change-projection/projection-negotiation/msi-tiles.mapml
@@ -9,7 +9,7 @@
-
+
diff --git a/change-projection/zoomin-zoomout/asdi-changeProjection.mapml b/change-projection/zoomin-zoomout/asdi-changeProjection.mapml
index 5158304..7c41e6a 100644
--- a/change-projection/zoomin-zoomout/asdi-changeProjection.mapml
+++ b/change-projection/zoomin-zoomout/asdi-changeProjection.mapml
@@ -3,7 +3,7 @@
Arctic SDI for Canada
-
+
@@ -14,11 +14,11 @@
-
+
-
+
diff --git a/change-projection/zoomin-zoomout/atlas-changeProjection.mapml b/change-projection/zoomin-zoomout/atlas-changeProjection.mapml
index 12a04e0..f1f9a5a 100644
--- a/change-projection/zoomin-zoomout/atlas-changeProjection.mapml
+++ b/change-projection/zoomin-zoomout/atlas-changeProjection.mapml
@@ -17,7 +17,7 @@
Eventually, it would become evident that certain TCRS would become "popular"
and therefore candidates for standardization in / by browsers.
-->
-
+
diff --git a/change-projection/zoomin-zoomout/cbmt-changeProjection.mapml b/change-projection/zoomin-zoomout/cbmt-changeProjection.mapml
index 793a503..7920dc5 100644
--- a/change-projection/zoomin-zoomout/cbmt-changeProjection.mapml
+++ b/change-projection/zoomin-zoomout/cbmt-changeProjection.mapml
@@ -7,7 +7,7 @@
-
+
diff --git a/change-projection/zoomin-zoomout/osm-changeProjection.mapml b/change-projection/zoomin-zoomout/osm-changeProjection.mapml
index 561b6ee..741bbb0 100644
--- a/change-projection/zoomin-zoomout/osm-changeProjection.mapml
+++ b/change-projection/zoomin-zoomout/osm-changeProjection.mapml
@@ -1,16 +1,17 @@
- OpenStreetMap
-
-
+ Canada Base Map - Transportation (CBMT)
+
+
-
-
-
-
-
+
+
+
+
+
+
diff --git a/custom-projections/Arctic-SDI/canada/alternates.mapml b/custom-projections/Arctic-SDI/canada/alternates.mapml
index 210de50..8d27e31 100644
--- a/custom-projections/Arctic-SDI/canada/alternates.mapml
+++ b/custom-projections/Arctic-SDI/canada/alternates.mapml
@@ -21,7 +21,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/canada/links.mapml b/custom-projections/Arctic-SDI/canada/links.mapml
index ca111e3..b2bb6e3 100644
--- a/custom-projections/Arctic-SDI/canada/links.mapml
+++ b/custom-projections/Arctic-SDI/canada/links.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/denmark/alternates.mapml b/custom-projections/Arctic-SDI/denmark/alternates.mapml
index bc63f67..e1d821a 100644
--- a/custom-projections/Arctic-SDI/denmark/alternates.mapml
+++ b/custom-projections/Arctic-SDI/denmark/alternates.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/denmark/links.mapml b/custom-projections/Arctic-SDI/denmark/links.mapml
index 9859a83..f0e52ce 100644
--- a/custom-projections/Arctic-SDI/denmark/links.mapml
+++ b/custom-projections/Arctic-SDI/denmark/links.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/finland/alternates.mapml b/custom-projections/Arctic-SDI/finland/alternates.mapml
index 6755a63..132ce95 100644
--- a/custom-projections/Arctic-SDI/finland/alternates.mapml
+++ b/custom-projections/Arctic-SDI/finland/alternates.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/finland/links.mapml b/custom-projections/Arctic-SDI/finland/links.mapml
index fbff0a1..15b50bd 100644
--- a/custom-projections/Arctic-SDI/finland/links.mapml
+++ b/custom-projections/Arctic-SDI/finland/links.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/iceland/alternates.mapml b/custom-projections/Arctic-SDI/iceland/alternates.mapml
index c98d1d0..3cc2aa3 100644
--- a/custom-projections/Arctic-SDI/iceland/alternates.mapml
+++ b/custom-projections/Arctic-SDI/iceland/alternates.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/iceland/links.mapml b/custom-projections/Arctic-SDI/iceland/links.mapml
index d09b982..93b19bd 100644
--- a/custom-projections/Arctic-SDI/iceland/links.mapml
+++ b/custom-projections/Arctic-SDI/iceland/links.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/links.xsl b/custom-projections/Arctic-SDI/links.xsl
index 2081e44..1594f3f 100644
--- a/custom-projections/Arctic-SDI/links.xsl
+++ b/custom-projections/Arctic-SDI/links.xsl
@@ -31,7 +31,7 @@
- http://basemap.arctic-sdi.org/mapcache/wmts/1.0.0/arctic_cascading/default//{TileMatrix}/{TileRow}/{TileCol}.png
+ https://basemap.arctic-sdi.org/mapcache/wmts/1.0.0/arctic_cascading/default//{TileMatrix}/{TileRow}/{TileCol}.png
diff --git a/custom-projections/Arctic-SDI/norway/alternates.mapml b/custom-projections/Arctic-SDI/norway/alternates.mapml
index 739b80e..172e011 100644
--- a/custom-projections/Arctic-SDI/norway/alternates.mapml
+++ b/custom-projections/Arctic-SDI/norway/alternates.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/norway/links.mapml b/custom-projections/Arctic-SDI/norway/links.mapml
index 47d7b8c..b821618 100644
--- a/custom-projections/Arctic-SDI/norway/links.mapml
+++ b/custom-projections/Arctic-SDI/norway/links.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/russia/alternates.mapml b/custom-projections/Arctic-SDI/russia/alternates.mapml
index 7be33fc..146e7b7 100644
--- a/custom-projections/Arctic-SDI/russia/alternates.mapml
+++ b/custom-projections/Arctic-SDI/russia/alternates.mapml
@@ -22,7 +22,7 @@
-
+
diff --git a/custom-projections/Arctic-SDI/russia/links.mapml b/custom-projections/Arctic-SDI/russia/links.mapml
index 0639e04..47ae153 100644
--- a/custom-projections/Arctic-SDI/russia/links.mapml
+++ b/custom-projections/Arctic-SDI/russia/links.mapml
@@ -20,7 +20,7 @@
fill: #efefd5; fill-opacity: 0.2; stroke-width: 1; stroke: #d2c2c1; stroke-opacity: 1; stroke-dasharray: 3;
}
-
+
-
+
diff --git a/custom-projections/Atlas-of-Canada/atlas.mapml b/custom-projections/Atlas-of-Canada/atlas.mapml
index 832423f..57bed8c 100644
--- a/custom-projections/Atlas-of-Canada/atlas.mapml
+++ b/custom-projections/Atlas-of-Canada/atlas.mapml
@@ -16,7 +16,7 @@
Eventually, it would become evident that certain TCRS would become "popular"
and therefore candidates for standardization in / by browsers.
-->
-
+
diff --git a/custom-projections/Atlas-of-Canada/index.html b/custom-projections/Atlas-of-Canada/index.html
index 6929a13..4767ccc 100644
--- a/custom-projections/Atlas-of-Canada/index.html
+++ b/custom-projections/Atlas-of-Canada/index.html
@@ -25,12 +25,12 @@
-
+
-
-
+
+
diff --git a/custom-projections/BNG/bgs-surficial-geology.mapml b/custom-projections/BNG/bgs-surficial-geology.mapml
index 884226c..e0b967d 100644
--- a/custom-projections/BNG/bgs-surficial-geology.mapml
+++ b/custom-projections/BNG/bgs-surficial-geology.mapml
@@ -8,7 +8,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
diff --git a/custom-projections/BNG/index.html b/custom-projections/BNG/index.html
index 3c043df..63dc28f 100644
--- a/custom-projections/BNG/index.html
+++ b/custom-projections/BNG/index.html
@@ -87,7 +87,7 @@
}`;
let map = document.querySelector("mapml-viewer");
let cProjection = map.defineCustomProjection(customProjectionDefinition);
- map.projection = cProjection;
+// map.projection = cProjection;