none
Draw map in javascript RRS feed

  • Question

  • Hello,

    I am using Bing map in javacsript. I am able to add pushpin dynamically on map.

    I have added a div and in that I am displaying the map. I am getting data for plotting on map dynamically.

    There are some other dropdown on page and based on the option selected in dropdown the data on map gets refreshed.

    But, what happens is when I change the dropdown option the data on map is getting refreshed, but the map that is contained in the div gets repeated. That is the height of the div increased everytime the option in the dropdown changes. so like it is seen on screen like one map below other map.

    Please tell me how to clear the map data and not change the height of the div and keep it of same height.

    Thanks

    Monday, January 14, 2013 2:30 PM

Answers