Bing Map - Change default polygon options RRS feed

  • Question

  • Hi, I want to create few polygons on my bing map using the drawing tool.

    Polygon's default fill color is "Green". I want to change it to "Yellow", so that all the polygons getting created will have "Yellow" as the filled color. 

    Please follow this fiddle. This is a sample in Google Map. We can define Polygon options and afterwards all the polygons we are creating has the same properties.

    How can I achieve similar behavior in Bing Map as well ? 

    Thank You.

    Wednesday, January 23, 2019 11:07 AM