Draw shape on bing map in javascript and not silverlight RRS feed

  • Question

  • Hello,
    I am new to using bing map in javascript.
    I created a javascript file and added refernce to bing map and was able to load the bing map on page. Using Visual Studio 2012
    What I want is, I want to allow the  user to draw the shape on the map.
    I am getting mouse down and mouse move click event but not sure how to generate the shape at runtime.
    I have seen couple of methods like Polyline and Circle and others, but that doesn't seems my requirement.
    I want the user to draw any shape he wants.
    Suppose the user wants to draw the shape of star , he should be able to draw it by moving mouse as per that requirment on the map.
    Also, I don't want to use any third party tool like readily avaliable tool, which will do the drawing functionality.
    Please tell me how to do this.


    Monday, December 24, 2012 9:59 AM


All replies