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

PMtiles not showing on map #1161

Open
bertcoerver opened this issue Jan 4, 2024 · 0 comments
Open

PMtiles not showing on map #1161

bertcoerver opened this issue Jan 4, 2024 · 0 comments

Comments

@bertcoerver
Copy link

bertcoerver commented Jan 4, 2024

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?

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