Skip to content

PMtiles not showing on map #1161

Open
Open
@bertcoerver

Description

@bertcoerver

Hello, I'm trying to display a PMTiles on my map (following an example from here) like this:

from ipyleaflet import Map, PMTilesLayer

m = Map(
    center=[33.72946,35.84783], 
    zoom=12, 
    scroll_wheel_zoom=True
    )

m.layout.height = '600px'

pmlayer = PMTilesLayer(
    url = "https://storage.googleapis.com/fao-cog-data/panel_tests/test.pmtiles",

)

m.add(pmlayer)
m

But the layer doesn't show up on my map.

I created the "test.pmtiles" using Tippecanoe (v 2.31.0), the bucket where it's stored also serves COGs, so it should also work for mbtiles I think? Any ideas what I'm doing wrong?

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