go-spatial / fresco

An open source vector tile style editor
https://fresco.go-spatial.org
Apache License 2.0
234 stars 26 forks source link

Tiles on maxzoom not requested #154

Open pnorman opened 10 months ago

pnorman commented 10 months ago

I added http://127.0.0.1:8000/tilejson.json as a new vector source and let Fresco auto-generate the layers. This file is as below.

```json { "attribution": "\u00a9 OpenStreetMap contributors - https://openstreetmap.org/copyright", "maxzoom": 14, "minzoom": 0, "name": "osm", "scheme": "xyz", "tilejson": "3.0.0", "tiles": [ "http://127.0.0.1:8000/v1/{z}/{x}/{y}.mvt" ], "vector_layers": [ { "fields": {}, "id": "bridges", "maxzoom": 14, "minzoom": 12 }, { "fields": {}, "id": "ferries", "maxzoom": 14, "minzoom": 10 }, { "fields": {}, "id": "public_transport", "maxzoom": 14, "minzoom": 11 }, { "fields": {}, "id": "sites", "maxzoom": 14, "minzoom": 14 }, { "fields": {}, "id": "ocean", "maxzoom": 14, "minzoom": 0 }, { "fields": {}, "id": "boundary_labels", "maxzoom": 14, "minzoom": 0 }, { "fields": {}, "id": "pier_lines", "maxzoom": 14, "minzoom": 12 }, { "fields": {}, "id": "addresses", "maxzoom": 14, "minzoom": 14 }, { "fields": {}, "id": "water_lines", "maxzoom": 14, "minzoom": 5 }, { "fields": {}, "id": "land", "maxzoom": 14, "minzoom": 6 }, { "fields": {}, "id": "pier_polygons", "maxzoom": 14, "minzoom": 12 }, { "fields": {}, "id": "boundaries", "maxzoom": 14, "minzoom": 2 }, { "fields": {}, "id": "dam_polygons", "maxzoom": 14, "minzoom": 14 }, { "fields": {}, "id": "streets_labels_points", "maxzoom": 14, "minzoom": 12 }, { "fields": {}, "id": "pois", "maxzoom": 14, "minzoom": 14 }, { "fields": {}, "id": "street_polygons", "maxzoom": 14, "minzoom": 11 }, { "fields": {}, "id": "street_labels", "maxzoom": 14, "minzoom": 14 }, { "fields": {}, "id": "streets", "maxzoom": 14, "minzoom": 5 }, { "fields": {}, "id": "place_labels", "maxzoom": 14, "minzoom": 4 }, { "fields": {}, "id": "water_polygons_labels", "maxzoom": 14, "minzoom": 5 }, { "fields": {}, "id": "water_polygons", "maxzoom": 14, "minzoom": 6 }, { "fields": {}, "id": "aerialways", "maxzoom": 14, "minzoom": 12 }, { "fields": {}, "id": "buildings", "maxzoom": 14, "minzoom": 14 }, { "fields": {}, "id": "dam_lines", "maxzoom": 14, "minzoom": 14 } ] } ```

Critically, this has a zoom range of 0-14. When I zoom into 13 and pan around I see requests for tiles. When I zoom into 14, the map rendering disappears and as I pan no tiles are requested.

I have verified that no tiles are being requested with both the dev tools in browser and the server log.