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

[Question] Can VectorGrid Slicer be used to deal with many CircleMarkers ? #1831

Open
BastienGauthier opened this issue Nov 13, 2023 · 5 comments

Comments

@BastienGauthier
Copy link
Contributor

BastienGauthier commented Nov 13, 2023

Hello all !

Quick question to deal with performance issues. I have a lot of circles with pop-up to display and i just discovered VectorGrid Slicer could handle easily many geometries, by playing between zoom & precision. I was wondering if this is applicable to folium Circles (as of now, or even considering minor developments).

Regards,
Bastien

@Conengmo
Copy link
Member

Conengmo commented Nov 14, 2023

Hi Bastien,

I don't know if this is applicable to Folium circles. I do know we already use this plugin in the VectorGridProtobuf plugin class. So having a plugin based on VectorGrid.Slicer is in the realm of possibilities. I don't know much about it though, so can't help any further I'm afraid.

If you search our issues and PRs for something like 'vectorgrid' you can find users who made that VectorGridProtobuf plugin and who might know more.

@BastienGauthier
Copy link
Contributor Author

@iwpnd, your comment on this could be of some help ! :)

@iwpnd
Copy link
Contributor

iwpnd commented Nov 14, 2023

Sure, you could add VectorGrid.Slicer as a folium plugin and instead of rendering folium.circles, you'd pass a geojson to the plugin.
I'm not too familiar with the plugin itself and how you'd control size per zoom level tho.

@BastienGauthier
Copy link
Contributor Author

Hello @IvanSanchez, I am still early stage on these test to use your slicer in folium, but is it still relevant ? I see that the module is not updated since quite some time : is there an alternative I should consider as of now ?

@IvanSanchez
Copy link

@BastienGauthier I'm knee-deep in https://ivansanchez.gitlab.io/gleo/ , which works nice for displaying hundreds of thousands of geometries. Leaflet connector at https://gitlab.com/IvanSanchez/leaflet.gleo/ .

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

4 participants