diff --git a/public/templates/data.tmpl b/public/templates/data.tmpl index 06d4938..c98435f 100644 --- a/public/templates/data.tmpl +++ b/public/templates/data.tmpl @@ -98,7 +98,7 @@ new L.Control.Zoom({ position: 'topright' }).addTo(map); var tile_urls = [], tile_attribution, tile_minzoom, tile_maxzoom; - var url = '{{public_url}}data/{{id}}.json' + keyParam; + var url = '{{public_url}}data/256/{{id}}.json' + keyParam; var req = new XMLHttpRequest(); req.overrideMimeType("application/json"); req.open('GET', url, true); diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl index 250d056..573dff3 100644 --- a/public/templates/index.tmpl +++ b/public/templates/index.tmpl @@ -38,7 +38,7 @@ GL Style {{/if}} {{#if serving_rendered}} - {{#if serving_data}}| {{/if}}TileJSON + {{#if serving_data}}| {{/if}}TileJSON {{/if}} {{#if serving_rendered}} | WMTS @@ -81,7 +81,7 @@
- services: TileJSON + services: TileJSON {{#if xyz_link}} | XYZ diff --git a/public/templates/viewer.tmpl b/public/templates/viewer.tmpl index 82a0a37..da335e1 100644 --- a/public/templates/viewer.tmpl +++ b/public/templates/viewer.tmpl @@ -81,7 +81,7 @@ new L.Control.Zoom({ position: 'topright' }).addTo(map); var tile_urls = [], tile_attribution, tile_minzoom, tile_maxzoom; - var url = '{{public_url}}styles/{{id}}.json' + keyParam; + var url = '{{public_url}}styles/512/{{id}}.json' + keyParam; var req = new XMLHttpRequest(); req.overrideMimeType("application/json"); req.open('GET', url, true);