0

I am using React Leaflet to render Leaflet map and Leaflet.Path.Drag to drag multiple polygons together. Here is a demo.

I have a lot of polygons and would like to drag multiple polygons with preferCanvas option. If I try to drag multiple polygons with preferCanvas, it doesn't work. Dragging makes duplicate polygons and polygons are not visible during dragging.

codesandbox.io

Cross-post from SO.

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.