developmentseed / lonboard

A Python library for fast, interactive geospatial vector data visualization in Jupyter.
https://developmentseed.org/lonboard/latest/
MIT License
510 stars 27 forks source link

Basemap refactor #494

Open kylebarron opened 2 months ago

kylebarron commented 2 months ago

The dict should be a valid mapbox style spec object.

We might also want to have helpers for a single-layer raster-tile basemap. E.g. lonboard.basemap.RasterBasemap which takes in an xyz url. We should have an example with standard OSM tiles.

There are a bunch of default public raster tile basemaps here (referenced from here). Also see https://github.com/geopandas/xyzservices, which may be a better integration point. We should be able to integrate directly with the TileProvider class.

kylebarron commented 3 weeks ago

It may also be useful to refer to these basemaps as MaplibreBasemap objects, where we could also have DeckglBasemap objects in the future, for applications that don't want to render Maplibre beneath deck.gl