-
Notifications
You must be signed in to change notification settings - Fork 16
/
queryLink.html
34 lines (31 loc) · 1.58 KB
/
queryLink.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Query Link Extent Test</title>
<script type="module" src="mapml.js"></script>
</head>
<body>
<mapml-viewer style="width: 500px;height: 500px;" projection="CBMTILE" zoom="0" lat="45" lon="-90" controls>
<map-layer label="Inline Templated Tile" checked>
<map-meta name="zoom" content="min=0,max=6"></map-meta>
<map-extent units="CBMTILE" checked hidden>
<map-input name="i" type="location" units="map" axis="i" ></map-input>
<map-input name="j" type="location" units="map" axis="j" ></map-input>
<map-input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" min="-2.003750834E7"
max="2.003750834E7" ></map-input>
<map-input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" min="-2.003750834E7"
max="2.003750834E7" ></map-input>
<map-input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" min="-2.003750834E7"
max="2.003750834E7" ></map-input>
<map-input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" min="-2.003750834E7"
max="2.003750834E7" ></map-input>
<map-input name="w" type="width" ></map-input>
<map-input name="h" type="height" ></map-input>
<map-link rel="query" tref="data/query/us_map_query?{i}{j}{xmin}{ymin}{xmax}{ymax}{w}{h}" ></map-link>
</map-extent>
</map-layer>
</mapml-viewer>
</body>
</html>