Skip to content

Commit 87f3cce

Browse files
committed
[AUTO] Sync MapML Build
1 parent 8ba57b6 commit 87f3cce

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

dist/index.html

+12-12
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
vertical-align: middle;
3434
}
3535

36-
/* Pre-style to avoid FOUC of inline layer- and fallback content. */
36+
/* Pre-style to avoid FOUC of inline map-layer and fallback content. */
3737
mapml-viewer:not(:defined) > * {
3838
display: none;
3939
}
@@ -70,7 +70,7 @@
7070
contain-intrinsic-size: 304px 154px;
7171
}
7272

73-
/* Pre-style to avoid FOUC of inline layer- and fallback content. */
73+
/* Pre-style to avoid FOUC of inline map-layer and fallback content. */
7474
map[is="web-map"]:not(:defined) + img[usemap],
7575
map[is="web-map"]:not(:defined) > :not(area):not(.mapml-web-map) {
7676
display: none;
@@ -80,15 +80,15 @@
8080
supported, or if javascript is disabled. This needs to be defined separately
8181
from the above, because the `:not(:defined)` selector invalidates the entire
8282
declaration in browsers that do not support it. */
83-
layer- {
83+
map-layer {
8484
display: none;
8585
}
8686
</style>
8787
<noscript>
8888
<style>
8989
/* Ensure fallback content (children of the map element) is displayed if
9090
custom/built-in elements is supported but javascript is disabled. */
91-
mapml-viewer:not(:defined) > :not(layer-) {
91+
mapml-viewer:not(:defined) > :not(map-layer) {
9292
display: initial;
9393
}
9494

@@ -118,16 +118,16 @@
118118
<body>
119119

120120
<mapml-viewer projection="OSMTILE" zoom="14" lat="45.406314" lon="-75.6883335" controls controlslist="geolocation">
121-
<layer- data-testid="osm-layer" label="OpenStreetMap" checked >
121+
<map-layer data-testid="osm-layer" label="OpenStreetMap" checked >
122122
<map-link rel="license" title="© OpenStreetMap contributors CC BY-SA" href="https://www.openstreetmap.org/copyright"></map-link>
123123
<map-extent units="OSMTILE" checked="checked">
124124
<map-input name="z" type="zoom" value="18" min="0" max="18"></map-input>
125125
<map-input name="x" type="location" units="tilematrix" axis="column" min="0" max="262144"></map-input>
126126
<map-input name="y" type="location" units="tilematrix" axis="row" min="0" max="262144"></map-input>
127127
<map-link rel="tile" tref="https://tile.openstreetmap.org/{z}/{x}/{y}.png"></map-link>
128128
</map-extent>
129-
</layer->
130-
<layer- label="Restaurants" checked="">
129+
</map-layer>
130+
<map-layer label="Restaurants" checked="">
131131
<map-meta name="extent" content="top-left-easting=-8433179, top-left-northing=5689316, bottom-right-easting=-8420968, bottom-right-northing=5683139"></map-meta>
132132
<map-extent units="OSMTILE" checked="">
133133
<map-select id="restaurants" name="cusine">
@@ -141,19 +141,19 @@
141141
</map-select>
142142
<map-link tref="https://maps4html.org/experiments/shared/restaurants/{cusine}.mapml" rel="features"></map-link>
143143
</map-extent>
144-
</layer->
144+
</map-layer>
145145
</mapml-viewer>
146146
<map is="web-map" projection="OSMTILE" zoom="14" lat="45.406314" lon="-75.6883335" controls controlslist="geolocation">
147-
<layer- data-testid="osm-layer" label="OpenStreetMap" checked >
147+
<map-layer data-testid="osm-layer" label="OpenStreetMap" checked >
148148
<map-link rel="license" title="© OpenStreetMap contributors CC BY-SA" href="https://www.openstreetmap.org/copyright"></map-link>
149149
<map-extent units="OSMTILE" checked="checked">
150150
<map-input name="z" type="zoom" value="18" min="0" max="18"></map-input>
151151
<map-input name="x" type="location" units="tilematrix" axis="column" min="0" max="262144"></map-input>
152152
<map-input name="y" type="location" units="tilematrix" axis="row" min="0" max="262144"></map-input>
153153
<map-link rel="tile" tref="https://tile.openstreetmap.org/{z}/{x}/{y}.png"></map-link>
154154
</map-extent>
155-
</layer->
156-
<layer- label="Restaurants" checked="">
155+
</map-layer>
156+
<map-layer label="Restaurants" checked="">
157157
<map-meta name="extent" content="top-left-easting=-8433179, top-left-northing=5689316, bottom-right-easting=-8420968, bottom-right-northing=5683139"></map-meta>
158158
<map-extent units="OSMTILE" checked="">
159159
<map-select id="restaurants" name="cusine">
@@ -167,7 +167,7 @@
167167
</map-select>
168168
<map-link tref="https://maps4html.org/experiments/shared/restaurants/{cusine}.mapml" rel="features"></map-link>
169169
</map-extent>
170-
</layer->
170+
</map-layer>
171171
</map>
172172
</body>
173173
</html>

dist/mapml.js

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mapml.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)