Select to view content in your preferred language

SketchViewModel - activate rectangle and point tools simultaneously

06-01-2023 12:31 PM
Occasional Contributor II

Is there any way to activate two tools (rectangle and point) on the map based on one button click?

If user drags on the map then rectangle should be drawn on the map and if user clicks on the map then point will need to be drawn. 

I tried to create two instances of SketchViewModel separately for each tool. But both of them are not working simultaneously. The one which is activated last that only works on the map.


Tags (1)
0 Kudos
0 Replies