azure-maps-drawing-tools: Detect when a specific drag handle is clicked and more granular styling than primary and secondary

Aydin Itil 166 Reputation points
2020-11-05T02:12:35.287+00:00

Is there any way to style individual drag handles and also know when certain drag handles are clicked when a shape is being edited? I understand there is a way to style all primary and/or secondary drag handles as a whole via the DrawingManagerOptions but I am needing a way to style them on an individual basis and detect which ones have been clicked.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
736 questions
{count} votes

Accepted answer
  1. rbrundritt 18,681 Reputation points Microsoft Employee
    2020-11-06T16:59:31.323+00:00

    There is no option for deeper customization of the drag handles using the built in drawing tools. If you want to customize every single drag handle, you will need to take a look at a completely custom drawing tool approach like in these samples: https://github.com/Azure-Samples/AzureMapsCodeSamples/tree/master/AzureMapsCodeSamples/Custom%20Modules/Custom%20Drawing%20Tools

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.