Serve TileJSONs on /{prefix}.json

This commit is contained in:
Petr Sloup
2016-03-09 19:18:59 +01:00
parent 9efa22b52b
commit 6f644a4c03
5 changed files with 33 additions and 39 deletions

View File

@@ -23,7 +23,7 @@
<script>
tileserver({
index: "index.json" + location.search,
tilejson: "%n/index.json" + location.search
tilejson: "%n.json" + location.search
});
</script>
</body>