forked from Maps4HTML/MapML.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnrcan_layers.html
More file actions
56 lines (54 loc) · 2.77 KB
/
nrcan_layers.html
File metadata and controls
56 lines (54 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title>Test layers</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
<!-- Leaflet needs this here in order to find the default image icons -->
<script src="scripts/lib/leaflet-src.js"></script>
<link rel="import" href="web-map.html">
<style>
/* map must have a defined height and width, can be set either by @height/@width or with css properties */
web-map {
float: left;
padding-right: 20px;
padding-left: 100px;
padding-bottom: 10px;
height: 400px;
width: 650px;
}
.mapclasstest {
height: 300px;
width: 600px;
}
.hillshade {
opacity: 0.3;
}
map-area[shape=circle] {
fill: white; stroke: aqua; stroke-width: 5px;fill-opacity: 0.0
}
</style>
</head>
<body>
<web-map zoom="17" lat="45.398043" lon="-75.70683" width="700" height="400" controls>
<map-layer label="osm" src="http://geogratis.gc.ca/mapml/osm/" checked></map-layer>
<map-layer label="cbmt_en" src="http://geogratis.gc.ca/mapml/en/osmtile/cbmt/"></map-layer>
<map-layer label="cbmt_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/cbmt/"></map-layer>
<map-layer label="toporama_en" src="http://geogratis.gc.ca/mapml/en/osmtile/toporama/"></map-layer>
<map-layer label="toporama_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/toporama/"></map-layer>
<map-layer label="geobase_en" src="http://geogratis.gc.ca/mapml/en/osmtile/geobase/"></map-layer>
<map-layer label="geobase_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/geobase/"></map-layer>
</web-map>
<web-map zoom="17" lat="45.398043" lon="-75.70683" width="700" height="400" controls projection="CBMTILE">
<map-layer label="cbmt_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/cbmt/" checked></map-layer>
<map-layer label="cbmt_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/cbmt/"></map-layer>
<map-layer class="hillshade" label="cbme_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/cbme/"></map-layer>
<map-layer class="hillshade" label="cbce_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/cbce/"></map-layer>
<map-layer label="toporama_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/toporama/"></map-layer>
<map-layer label="toporama_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/toporama/"></map-layer>
<map-layer label="geobase_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/geobase/"></map-layer>
<map-layer label="geobase_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/geobase/"></map-layer>
</web-map>
</body>
</html>