Skip to content

Commit

Permalink
Update map-a demo temporarily until bug fix (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliyanH authored Sep 28, 2023
1 parent 65cef13 commit 8e15725
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions static/demo/map-a-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ <h2>MapML Demo: &lt;map-a&gt;</h2>

<layer- label="Polygon" checked>
<map-meta name="projection" content="OSMTILE"></map-meta>
<map-meta name="zoom" content="min=10,max=11"></map-meta>
<map-feature>
<map-feature min="10" max="11">
<map-featurecaption>Click me!</map-featurecaption>
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
<map-geometry cs="gcrs">
<map-geometry>
<map-a href="#15, -75.699, 45.420">
<map-polygon class="polygon">
<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>
Expand All @@ -53,31 +51,27 @@ <h2>MapML Demo: &lt;map-a&gt;</h2>

<layer- label="Points" checked>
<map-meta name="projection" content="OSMTILE"></map-meta>
<map-meta name="zoom" content="min=14,max=24"></map-meta>
<map-feature>
<map-feature min="14" max="24">
<map-featurecaption>Point 1</map-featurecaption>
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
<map-geometry cs="gcrs">
<map-geometry>
<map-point class="point">
<map-coordinates>-75.6978285 45.4202251</map-coordinates>
</map-point>
</map-geometry>
<map-properties></map-properties>
</map-feature>
<map-feature>
<map-feature min="14" max="24">
<map-featurecaption>Point 2</map-featurecaption>
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
<map-geometry cs="gcrs">
<map-geometry>
<map-point class="point">
<map-coordinates>-75.7002854 45.4199465</map-coordinates>
</map-point>
</map-geometry>
<map-properties></map-properties>
</map-feature>
<map-feature>
<map-feature min="14" max="24">
<map-featurecaption>point 3</map-featurecaption>
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
<map-geometry cs="gcrs">
<map-geometry>
<map-point class="point">
<map-coordinates>-75.6984723 45.4179207</map-coordinates>
</map-point>
Expand Down

0 comments on commit 8e15725

Please sign in to comment.