I am working on application where user can do drawing and change color, 
stroke, fill and perform undo, redo.

One feature is user should have option to rub/remove features like 
Photoshop or paint. Currently OpenLayers provides a functionality of 
removing the whole feature. For example, if I want to remove a circle, I 
click on rubber and then click on circle. It will get remvoed.

But the requirement is a rubber should be like freehand and user should rub 
some parts of circle/any drawing or fully remove it.

I am thinking of using image instead of vector layer.

After looking into the OpenLayers 6 API, it comes with VectorImage and 
drawing is working fine with that but I am not sure if this is achievable 
easily or I have to do it in a complex way by detect the click and feature 
and breaking down the feature but in that case user can rub a single circle 
into 100s parts so I am not sure about that too.

I have not started implementing this feature so no code yet. I am just 
thinking of where and how to start.
Any help would be appreciated. Thank you in advance. 

 have posted a question at: 
https://gis.stackexchange.com/questions/373853/in-openlayers-6-remove-or-rub-drawing-features-like-any-photo-editing-applicati

-- 
You received this message because you are subscribed to the Google Groups 
"OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/openlayers-dev/8c607181-0b55-436e-9d2d-0c9684c45a3fn%40googlegroups.com.

Reply via email to