Skip to content

Commit 1c8da4c

Browse files
prushforprushfor
authored andcommitted
Add demo file (index.html) in case the install procedure is unclear
1 parent 87d313d commit 1c8da4c

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

index.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>web-map demo</title>
5+
<meta charset="UTF-8">
6+
<!-- if you want to create a page in your project directory, you will have to
7+
adjust the paths to the webcomponents-lite.js polyfill and the web-map.html file
8+
based on the location of your html file. -->
9+
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
10+
<link rel="import" href="web-map.html">
11+
</head>
12+
<body>
13+
<div>
14+
<map is="web-map" zoom="17" lat="45.398043" lon="-75.70683" width="700" height="400" controls>
15+
<layer- label="osm" src="http://geogratis.gc.ca/mapml/osm/" checked></layer->
16+
<layer- label="cbmt_en" src="http://geogratis.gc.ca/mapml/en/osmtile/cbmt/"></layer->
17+
<layer- label="cbmt_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/cbmt/"></layer->
18+
<layer- label="toporama_en" src="http://geogratis.gc.ca/mapml/en/osmtile/toporama/"></layer->
19+
<layer- label="toporama_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/toporama/"></layer->
20+
<layer- label="geobase_en" src="http://geogratis.gc.ca/mapml/en/osmtile/geobase/"></layer->
21+
<layer- label="geobase_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/geobase/"></layer->
22+
<layer- label="ablands_en" src="http://geogratis.gc.ca/mapml/en/osmtile/geobase/ablnd/"></layer->
23+
<layer- label="ablands_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/geobase/ablnd/"></layer->
24+
<layer- label="ce_en" src="http://geogratis.gc.ca/mapml/en/osmtile/ce/"></layer->
25+
</map>
26+
<map is="web-map" zoom="17" lat="45.398043" lon="-75.70683" width="700" height="400" controls projection="CBMTILE">
27+
<layer- label="cbmt_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/cbmt/" checked></layer->
28+
<layer- label="cbmt_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/cbmt/"></layer->
29+
<layer- class="hillshade" label="cbme_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/cbme/"></layer->
30+
<layer- class="hillshade" label="cbce_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/cbce/"></layer->
31+
<layer- label="toporama_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/toporama/"></layer->
32+
<layer- label="toporama_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/toporama/"></layer->
33+
<layer- label="geobase_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/geobase/"></layer->
34+
<layer- label="geobase_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/geobase/"></layer->
35+
<layer- label="ablands_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/geobase/ablnd/"></layer->
36+
<layer- label="ablands_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/geobase/ablnd/"></layer->
37+
<layer- label="ce_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/ce/"></layer->
38+
<layer- id="fdr" label="Fire Risk forecast" src="http://geogratis.gc.ca/mapml/fdr_current/" style="opacity: 0.4"></layer->
39+
</map>
40+
</div>
41+
</body>
42+
</html>

0 commit comments

Comments
 (0)