diff --git a/docs/endpoints.rst b/docs/endpoints.rst
index 0672f25..b3a5fa0 100644
--- a/docs/endpoints.rst
+++ b/docs/endpoints.rst
@@ -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:
diff --git a/package.json b/package.json
index 05bae9b..21d3837 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "tileserver-gl",
- "version": "2.3.1",
+ "version": "2.4.0",
"description": "Map tile server for JSON GL styles - vector and server side generated raster tiles",
"main": "src/main.js",
"bin": "src/main.js",
@@ -20,30 +20,29 @@
},
"dependencies": {
"@mapbox/mapbox-gl-native": "3.5.4",
- "@mapbox/mbtiles": "0.9.0",
- "@mapbox/sphericalmercator": "1.0.5",
- "@mapbox/vector-tile": "1.3.0",
+ "@mapbox/mbtiles": "0.10.0",
+ "@mapbox/sphericalmercator": "1.1.0",
+ "@mapbox/vector-tile": "1.3.1",
"advanced-pool": "0.3.3",
- "base64url": "2.0.0",
- "canvas": "1.6.8",
- "clone": "2.1.1",
- "color": "1.0.3",
- "commander": "2.1.0",
+ "canvas": "1.6.12",
+ "clone": "2.1.2",
+ "color": "3.0.0",
+ "commander": "2.18.0",
"cors": "2.8.4",
- "express": "4.16.2",
+ "express": "4.16.3",
"glyph-pbf-composite": "0.0.2",
- "handlebars": "4.0.11",
+ "handlebars": "4.0.12",
"http-shutdown": "^1.2.0",
- "morgan": "1.9.0",
- "pbf": "3.0.5",
- "proj4": "2.4.4",
- "request": "2.83.0",
- "sharp": "0.18.2",
+ "morgan": "1.9.1",
+ "pbf": "3.1.0",
+ "proj4": "2.5.0",
+ "request": "2.88.0",
+ "sharp": "0.20.8",
"tileserver-gl-styles": "1.2.0"
},
"devDependencies": {
- "should": "^11.2.0",
- "mocha": "^3.2.0",
- "supertest": "^3.0.0"
+ "mocha": "^5.2.0",
+ "should": "^13.2.0",
+ "supertest": "^3.1.0"
}
}
diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl
index 8b37ed1..2c61428 100644
--- a/public/templates/index.tmpl
+++ b/public/templates/index.tmpl
@@ -40,8 +40,8 @@
{{#if serving_rendered}}
{{#if serving_data}}| {{/if}}TileJSON
{{/if}}
- {{#if wmts_link}}
- | WMTS
+ {{#if serving_rendered}}
+ | WMTS
{{/if}}
{{#if xyz_link}}
| XYZ
@@ -110,4 +110,4 @@