Leaflet.PixiOverlay
Leaflet.PixiOverlay copied to clipboard
collision detection with variable size markers - keep sizes constant
hi. I am trying to prevent the circle collision detector script to rescale the markers if they overlap. I am doing a dataviz project and using sizes to represent data. even with fixed circle size the algorithm rescales nodes.
any suggestion on turning off this feature?
lambda is wired in too much, so i am not sure what to modify exactly.
c1.r *= lambda1; c2.r *= lambda2;
thanks
Hi. I don't think that the solveCollision algorithm can be easily modified so that markers keep a constant size.
hm. ok. no prob. I will look into something else then to solve this on canvas thx