pydeck icon layer - are folium-style clustered icons possible?

140 Views Asked by At

My question: is it possible to do folium-style icon clustering using pydeck?

I'm making map visualizations for a dataset in which we've made measurements at a number of locations, returning to some locations many times across the past five years. I've mapped the measurement locations using folium's MarkerClusters. Markers cluster when the map is zoomed out:

zoomed out cluster

And then resolve to individual measurements upon zooming in:

enter image description here

I've been playing around with implementing my visualizations using pydeck. The deck.gl documentation suggests that some degree of clustering is possible, but (1) I don't see how to implement that example, which uses javascript, using pydeck and more importantly (2) it seems the icons stack on top of one another at some zoom level when some icons share the same location.

Is this kind of thing doable using pydeck?

0

There are 0 best solutions below