Skip to content

Zooming in gives blank tiles #1253

@mdtanker

Description

@mdtanker

I have an issue similar to #925. When I zoom in on a layer, once I get to or passed it's original max_zoom setting the map goes blank, instead of just zooming in. For example, ipyleaflet.basemaps.NASAGIBS.BlueMarbleBathymetry3031 has a default max_zoom of 5. Once you are at zoom level >=5, there is no data shown.

Setting max_zoom and max_native_zoom for the basemap, or max_zoom in Map has no effect.

import ipyleaflet

base = ipyleaflet.basemaps.NASAGIBS.BlueMarbleBathymetry3031(
    max_zoom=10,
    max_native_zoom=10,
)
proj = ipyleaflet.projections.EPSG3031.NASAGIBS
m = ipyleaflet.Map(
    center=(-90, 0),
    zoom=5,
    basemap=base,
    crs=proj,
    max_zoom=10
)
m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions