Skip to content

Commit 8e15725

Browse files
authored
Update map-a demo temporarily until bug fix (#134)
1 parent 65cef13 commit 8e15725

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

static/demo/map-a-demo/index.html

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ <h2>MapML Demo: &lt;map-a&gt;</h2>
3636

3737
<layer- label="Polygon" checked>
3838
<map-meta name="projection" content="OSMTILE"></map-meta>
39-
<map-meta name="zoom" content="min=10,max=11"></map-meta>
40-
<map-feature>
39+
<map-feature min="10" max="11">
4140
<map-featurecaption>Click me!</map-featurecaption>
42-
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
43-
<map-geometry cs="gcrs">
41+
<map-geometry>
4442
<map-a href="#15, -75.699, 45.420">
4543
<map-polygon class="polygon">
4644
<map-coordinates>-75.8242035 45.3526278 -75.6793213 45.4572409 -75.5680847 45.4692806 -75.6092834 45.4215881 -75.5756378 45.3810901 -75.7946777 45.3120804</map-coordinates>
@@ -53,31 +51,27 @@ <h2>MapML Demo: &lt;map-a&gt;</h2>
5351

5452
<layer- label="Points" checked>
5553
<map-meta name="projection" content="OSMTILE"></map-meta>
56-
<map-meta name="zoom" content="min=14,max=24"></map-meta>
57-
<map-feature>
54+
<map-feature min="14" max="24">
5855
<map-featurecaption>Point 1</map-featurecaption>
59-
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
60-
<map-geometry cs="gcrs">
56+
<map-geometry>
6157
<map-point class="point">
6258
<map-coordinates>-75.6978285 45.4202251</map-coordinates>
6359
</map-point>
6460
</map-geometry>
6561
<map-properties></map-properties>
6662
</map-feature>
67-
<map-feature>
63+
<map-feature min="14" max="24">
6864
<map-featurecaption>Point 2</map-featurecaption>
69-
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
70-
<map-geometry cs="gcrs">
65+
<map-geometry>
7166
<map-point class="point">
7267
<map-coordinates>-75.7002854 45.4199465</map-coordinates>
7368
</map-point>
7469
</map-geometry>
7570
<map-properties></map-properties>
7671
</map-feature>
77-
<map-feature>
72+
<map-feature min="14" max="24">
7873
<map-featurecaption>point 3</map-featurecaption>
79-
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
80-
<map-geometry cs="gcrs">
74+
<map-geometry>
8175
<map-point class="point">
8276
<map-coordinates>-75.6984723 45.4179207</map-coordinates>
8377
</map-point>

0 commit comments

Comments
 (0)