-
Notifications
You must be signed in to change notification settings - Fork 42
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
is it possible to cluster points and paths #6
Comments
@Zahma neat idea. Specifically you mean Leaflet.markercluster, right? As a first step in looking into this--in your own use of that plugin--did you try to see if it would support drawing to the canvas automatically, via the var canvasRenderer = L.canvas();
var markers = L.markerClusterGroup({
renderer: canvasRenderer
}); Although I'm unsure if it even supports that and if you have to do it at the With cc @sarahbellum |
@jwasilgeo I'm pretty sure markerclusterGroup doesn't support canvas it only gets Markers as parameter. |
@Zahma Hi, I'm chiming in on behalf of the visualization implications of clustering. One consideration is the complexity that clustering might add to creation of the Bezier curve line, especially if you allow zooming, where the clustering would change. The Bezier curve lines will potentially become far fewer when zoomed out, and more abundant as the user zooms in and point declustering occurs. This could be super cool! |
@Zahma I think I follow what you're saying above. "...then do some calculations to finally construct a featurecollection object that will be then served to CanvasFlowMap for display..." could totally work. @sarahbellum thanks for bringing up the visualization feedback and concerns. Is this the behaviour you envisioned, @Zahma? |
@sarahbellum @jwasilgeo .Thank you both for your interest. In fact i'm working on it right now, I'll let you know of the implications. |
I'm wondering if we can clusters the points and paths using markerclusterGroup. As far as I understood from this libraey its suing canvas elements, and not markers to render the flows. Is there any way you can think of to add the markerclustergroup to this one it would be wonderful. Grouping points and flows while zooming out.
The text was updated successfully, but these errors were encountered: