Drawing on Bing Map doesn't seem to work

Gunnar Mein 26 Reputation points
2021-02-26T18:03:23.733+00:00

I am using the V8 map control. I would like to let the user draw on the map, but all it seems to do is drag (pan) instead. The tutorial samples show the same behavior. On Chrome and Edge, also Chrome on Mac. Am I doing something wrong? Has behavior changed and the tutorials were left behind? Thanks!

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

Accepted answer
  1. rbrundritt 18,076 Reputation points Microsoft Employee
    2021-02-26T18:27:42.94+00:00

    Trying the Bing Maps drawing tools, looks like you have to click each point of your shape, it doesn't draw on mouse down/drag.

    If you are open to other map platforms, Azure Maps drawing tools provide a lot more control over this and the default uses a hybrid approach where you can click each point or mouse down/drag. https://azuremapscodesamples.azurewebsites.net/?sample=Drawing%20manager%20options

    1 person found this answer helpful.

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.