Skip to content

Commit

Permalink
Merge pull request #307 from spatialillusions/master
Browse files Browse the repository at this point in the history
Add support for WMTS capabilities
  • Loading branch information
petrsloup authored Sep 14, 2018
2 parents f993b01 + 782c28c commit 58168eb
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 17 deletions.
4 changes: 4 additions & 0 deletions docs/endpoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Rendered tiles

* The rendered tiles are not available in the ``tileserver-gl-light`` version.

WMTS Capabilities
==============
* WMTS Capabilities are served at ``/styles/{id}/wmts.xml``

Static images
=============
* Several endpoints:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@mapbox/sphericalmercator": "1.0.5",
"@mapbox/vector-tile": "1.3.0",
"advanced-pool": "0.3.3",
"base64url": "2.0.0",
"canvas": "1.6.8",
"clone": "2.1.1",
"color": "1.0.3",
Expand Down
6 changes: 3 additions & 3 deletions public/templates/index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
{{#if serving_rendered}}
{{#if serving_data}}| {{/if}}<a href="/styles/{{@key}}.json{{&../key_query}}">TileJSON</a>
{{/if}}
{{#if wmts_link}}
| <a href="{{&wmts_link}}">WMTS</a>
{{#if serving_rendered}}
| <a href="/styles/{{@key}}/wmts.xml{{&../key_query}}">WMTS</a>
{{/if}}
{{#if xyz_link}}
| <a href="#" onclick="return toggle_xyz('xyz_style_{{@key}}');">XYZ</a>
Expand Down Expand Up @@ -110,4 +110,4 @@
</p>
</footer>
</body>
</html>
</html>
Loading

0 comments on commit 58168eb

Please sign in to comment.