-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathtemplate_tiles.mapml
28 lines (28 loc) · 1.9 KB
/
template_tiles.mapml
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
<mapml>
<head>
<title>states</title>
<base href="${URL}" />
<meta charset="utf-8" />
<meta content="text/mapml;projection=${TILING_SCHEME}" http-equiv="Content-Type" />
<!--
<link href="http://localhost:8080/myservice/mapml/WGS84?style=" rel="alternate" projection="WGS84" />
<link href="http://localhost:8080/myservice/mapml/OSMTILE?style=" rel="alternate" projection="OSMTILE" />
<link href="http://localhost:8080/myservice/mapml/CBMTILE?style=" rel="alternate" projection="CBMTILE" />
<link href="http://localhost:8080/myservice/mapml/APSTILE?style=" rel="alternate" projection="APSTILE" />
-->
</head>
<body>
<extent units="${TILING_SCHEME}">
<input name="z" type="zoom" value="${CURZOOM}" min="${MINZOOM}" max="${MAXZOOM}" />
<input name="x" type="location" axis="column" units="tilematrix" min="${MINTILEX}" max="${MAXTILEX}" />
<input name="y" type="location" axis="row" units="tilematrix" min="${MINTILEY}" max="${MAXTILEY}" />
<link tref="${URL}{z}/{x}/{y}.${TILEEXT}" rel="tile" />
<!--<link tref="http://localhost:8080/myservice/wmts?layer=MYLAYER&style=&tilematrixset=${TILING_SCHEME}&service=WMTS&request=GetTile&version=1.0.0&tilematrix={z}&TileCol={x}&TileRow={y}&format=image/png" rel="tile" />-->
<!--
<input name="i" type="location" axis="i" units="tile" />
<input name="j" type="location" axis="j" units="tile" />
<link tref="http://localhost:8080/myservice/wmts/?LAYER=MYLAYER&TILEMATRIX={z}&TileCol={x}&TileRow={y}&TILEMATRIXSET=WGS84&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetFeatureInfo&FEATURE_COUNT=50&FORMAT=image/png&STYLE=&INFOFORMAT=text/mapml&I={i}&J={j}" rel="query" />
-->
</extent>
</body>
</mapml>