Skip to content

Commit 22c7608

Browse files
committed
[AUTO] Sync MapML Build
1 parent 8e15725 commit 22c7608

13 files changed

+67
-68
lines changed

static/dist/DOMTokenList.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/dist/index.html

Lines changed: 52 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -72,57 +72,56 @@
7272
</noscript>
7373
</head>
7474
<body>
75-
<mapml-viewer projection="CBMTILE" zoom="2" lat="45" lon="-90" controls controlslist="nofullscreen geolocation">
76-
<map-caption>A pleasing map of Canada</map-caption>
77-
<layer- label="CBMT" src="https://geogratis.gc.ca/mapml/en/cbmtile/cbmt/" checked></layer->
78-
<layer- label="Hat Guy" checked>
79-
<map-feature id="twohats" zoom="15" class="twohats">
80-
<map-properties>
81-
<table>
82-
<tr>
83-
<th>code</th>
84-
<td>1200020</td>
85-
</tr>
86-
<tr>
87-
<th>accuracy</th>
88-
<td>26</td>
89-
</tr>
90-
<tr>
91-
<th>valdate</th>
92-
<td>1995</td>
93-
</tr>
94-
<tr>
95-
<th>image</th>
96-
<td><a href="https://www.veterans.gc.ca/eng/remembrance/memorials/national-inventory-canadian-memorials/details/9304">
97-
<img src="https://www.veterans.gc.ca/images/remembrance/memorials/national-inventory-canadian-memorials/mem/35059-173a.jpg" width="60" height="60"/>
98-
</a>
99-
</td>
100-
</tr>
101-
<tr>
102-
<th>theme</th>
103-
<td>FO</td>
104-
</tr>
105-
<tr>
106-
<th>type</th>
107-
<td>2</td>
108-
</tr>
109-
<tr>
110-
<th>elevation</th>
111-
<td>61</td>
112-
</tr>
113-
<tr>
114-
<th>altiaccu</th>
115-
<td>5</td>
116-
</tr>
117-
</table>
118-
</map-properties>
119-
<map-geometry>
120-
<map-point>
121-
<map-coordinates>-75.705278 45.397778</map-coordinates>
122-
</map-point>
123-
</map-geometry>
124-
</map-feature>
125-
</layer->
126-
</mapml-viewer>
127-
</body>
75+
<mapml-viewer projection="OSMTILE" zoom="10" lon="-75.7" lat="45.4" controls="">
76+
<layer- label="OpenStreetMap" src="https://maps4html.org/web-map-doc/demo/data/osm.mapml" checked=""></layer->
77+
78+
<layer- label="Polygon" checked>
79+
<map-meta name="projection" content="OSMTILE"></map-meta>
80+
<map-meta name="zoom" content="min=10,max=11"></map-meta>
81+
<map-feature zoom="10">
82+
<map-featurecaption>Click me!</map-featurecaption>
83+
<!-- Setting the geometry coordinates to gcrs, as the default is pcrs -->
84+
<map-geometry>
85+
<map-a href="#15, -75.699, 45.420">
86+
<map-polygon class="polygon">
87+
<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>
88+
</map-polygon>
89+
</map-a>
90+
</map-geometry>
91+
<map-properties></map-properties>
92+
</map-feature>
93+
</layer->
94+
95+
<layer- label="Points" checked>
96+
<map-meta name="projection" content="OSMTILE"></map-meta>
97+
<map-meta name="zoom" content="min=14,max=24"></map-meta>
98+
<map-feature>
99+
<map-featurecaption>Point 1</map-featurecaption>
100+
<map-geometry>
101+
<map-point class="point">
102+
<map-coordinates>-75.6978285 45.4202251</map-coordinates>
103+
</map-point>
104+
</map-geometry>
105+
<map-properties></map-properties>
106+
</map-feature>
107+
<map-feature>
108+
<map-featurecaption>Point 2</map-featurecaption>
109+
<map-geometry>
110+
<map-point class="point">
111+
<map-coordinates>-75.7002854 45.4199465</map-coordinates>
112+
</map-point>
113+
</map-geometry>
114+
<map-properties></map-properties>
115+
</map-feature>
116+
<map-feature>
117+
<map-featurecaption>point 3</map-featurecaption>
118+
<map-geometry>
119+
<map-point class="point">
120+
<map-coordinates>-75.6984723 45.4179207</map-coordinates>
121+
</map-point>
122+
</map-geometry>
123+
<map-properties></map-properties>
124+
</map-feature>
125+
</layer->
126+
</mapml-viewer> </body>
128127
</html>

static/dist/layer.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/dist/leaflet.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/dist/map-area.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/dist/map-caption.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/dist/map-extent.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)