This project is read-only.

Redraw map after postback

May 5, 2009 at 6:20 PM

First of all , thanks for this exellent project 8-)

I have a map in a updatepanel and when a postback occurs i add a few new markers to the map object 
but how do I refresh / reload the map since after the postback all markers are gone ....

Should i call a javascript .render(); and if so how ?

If I add markers and call .render(); from pure javascript the map is redrawn correctly so how do you do this when you need to include information from the server?
 Best regards Anders  
May 6, 2009 at 7:26 AM
Problem solved ... stupid mistake bug in javascript caused a switch f longitude and latitude that caused the marker to be placed way of  the street I expected it to be.
If you expect the marker to be in sweden and you end up in iran then you have f*up some where 8-)