forked from Maps4HTML/MapML.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetaDefault.html
More file actions
51 lines (46 loc) · 2.1 KB
/
metaDefault.html
File metadata and controls
51 lines (46 loc) · 2.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Meta Default Test</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="module" src="mapml-viewer.js"></script>
<style>
.transparency {
opacity: 0.2;
}
</style>
</head>
<body>
<mapml-viewer style="width: 500px; height: 500px;" projection="CBMTILE" zoom="0" lat="45.5052040" lon="-75.2202344"
controls>
<layer- label="Map Layer" src="data/missing_min_max.mapml" checked></layer->
<layer- label="Toporama" checked>
<map-meta name="zoom" content="min=4,max=5"></map-meta>
<map-meta name="extent"
content="zoom=19,top-left-easting=-7786477.0,top-left-northing=-927808.0,bottom-right-easting=7148753.0,bottom-right-northing=7928344.0"></map-meta>
<map-extent units="CBMTILE">
<map-input name="z" type="zoom" value="11" min="4" max="4" ></map-input>
<map-input name="w" type="width" ></map-input>
<map-input name="h" type="height" ></map-input>
<map-input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" ></map-input>
<map-input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" ></map-input>
<map-input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" ></map-input>
<map-input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" ></map-input>
<map-link rel="image"
tref="http://maps.geogratis.gc.ca/wms/toporama_en?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=FALSE&STYLES=&VERSION=1.3.0&LAYERS=WMS-Toporama&WIDTH={w}&HEIGHT={h}&CRS=EPSG:3978&BBOX={xmin},{ymin},{xmax},{ymax}&m4h=t" ></map-link>
</map-extent>
</layer->
<layer- label="Default meta" checked>
<map-feature>
<map-geometry>
<map-point>
<map-coordinates>-79.477626 43.764814</map-coordinates>
</map-point>
</map-geometry>
</map-feature>
</layer->
<layer- src="data/noMapMeta" checked></layer->
</mapml-viewer>
</body>
</html>