template_tiles.mapml 1.9 KB

12345678910111213141516171819202122232425262728
  1. <mapml>
  2. <head>
  3. <title>states</title>
  4. <base href="${URL}" />
  5. <meta charset="utf-8" />
  6. <meta content="text/mapml;projection=${TILING_SCHEME}" http-equiv="Content-Type" />
  7. <!--
  8. <link href="http://localhost:8080/myservice/mapml/WGS84?style=" rel="alternate" projection="WGS84" />
  9. <link href="http://localhost:8080/myservice/mapml/OSMTILE?style=" rel="alternate" projection="OSMTILE" />
  10. <link href="http://localhost:8080/myservice/mapml/CBMTILE?style=" rel="alternate" projection="CBMTILE" />
  11. <link href="http://localhost:8080/myservice/mapml/APSTILE?style=" rel="alternate" projection="APSTILE" />
  12. -->
  13. </head>
  14. <body>
  15. <extent units="${TILING_SCHEME}">
  16. <input name="z" type="zoom" value="${CURZOOM}" min="${MINZOOM}" max="${MAXZOOM}" />
  17. <input name="x" type="location" axis="column" units="tilematrix" min="${MINTILEX}" max="${MAXTILEX}" />
  18. <input name="y" type="location" axis="row" units="tilematrix" min="${MINTILEY}" max="${MAXTILEY}" />
  19. <link tref="${URL}{z}/{x}/{y}.${TILEEXT}" rel="tile" />
  20. <!--<link tref="http://localhost:8080/myservice/wmts?layer=MYLAYER&amp;style=&amp;tilematrixset=${TILING_SCHEME}&amp;service=WMTS&amp;request=GetTile&amp;version=1.0.0&amp;tilematrix={z}&amp;TileCol={x}&amp;TileRow={y}&amp;format=image/png" rel="tile" />-->
  21. <!--
  22. <input name="i" type="location" axis="i" units="tile" />
  23. <input name="j" type="location" axis="j" units="tile" />
  24. <link tref="http://localhost:8080/myservice/wmts/?LAYER=MYLAYER&amp;TILEMATRIX={z}&amp;TileCol={x}&amp;TileRow={y}&amp;TILEMATRIXSET=WGS84&amp;SERVICE=WMTS&amp;VERSION=1.0.0&amp;REQUEST=GetFeatureInfo&amp;FEATURE_COUNT=50&amp;FORMAT=image/png&amp;STYLE=&amp;INFOFORMAT=text/mapml&amp;I={i}&amp;J={j}" rel="query" />
  25. -->
  26. </extent>
  27. </body>
  28. </mapml>