Leaflet.Path.Drag
Leaflet.Path.Drag copied to clipboard
[Question] Dragging multiple polygons in canvas mode?
I am just wondering. Does dragging multiple polygons work in canvas mode? During dragging only one polygon is visible.
I am adding a link to so for reference.
Can you put them into a MultiPolygon
?
@w8r yes I can. Thank you, this is a great idea. I will try it out and let you know.
@w8r unfortunately, multipolygon doesn't work because it makes holes for overlapping polygons codesandbox.io
There's a fllRule
option on the L.Path
styles for that, what makes it alternate like that is the evenodd
option, you may try some other one from the list here
@w8r default value is evenodd
, if I try nonzero
it doesn't make any difference codesandbox.io
Would be great if this plugin supports dragging whole FeatureGroup. You can consider this as a feature request.
Good point!