Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiles on maxzoom not requested #154

Open
pnorman opened this issue Jan 22, 2024 · 0 comments
Open

Tiles on maxzoom not requested #154

pnorman opened this issue Jan 22, 2024 · 0 comments

Comments

@pnorman
Copy link

pnorman commented Jan 22, 2024

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.

{
    "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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant