After getting the newest temporary version (3.1.215), whenever I add a marker to a Marker overlay or SimpleMarkerOverlay, the map goes blank. However, if I add another marker, the map reappears. I have also confirmed this is the same case with the 'Add a Marker' sample. Is there anything you might be able to do? Thanks a lot!
EDIT: This only seems to occur in Firefox. IE7 and IE8 are fine.
Web Edition does regular Postback when you access server event. It causes the whole page refresh. If you add update panel, it still refreshes all the DOM tree node in the specific area. That's why the map reloaded. IE engine is different from Firefox which has another analysis for table. In IE, it actually refreshed but you cannot notice, while in Firefox you can notice it.
The only thing we can do is recommend adding markers on the client side by Ajax. It won't refresh the map. You know we cannot eat the cake and have it. It's the disadvantage of web applications. Here is a related post for adding markers on the client side:
Howard, I’m not actually referring to the map refreshing/flashing, I’m completely okay with that. The problem is that when I click my ‘add marker’ button, the map does not refresh, it simply goes blank. This has only occurred since 3.1.215, and now that I have rolled back to 3.1.182, that portion is working correctly, but the parts that I actually needed 3.1.215 are not. I was able to verify this by replacing the .dlls from 3.1.182 with those from 3.1.215 and running the ‘Add A Marker’ sample. After clicking the ‘add marker’ button, the map is simply a blue background until you press the button again. I hope this information helps describe what I’m experiencing a little better. Thanks again. -Dustin
I recreated you issue in 3.1.215. It works fine in IE and Chrome except Firefox. So it may causes by the JavaScript analysis of Firefox. This bug is fixed in our latest version. Please ask support@thinkgeo.com for this fix.
Thanks for reporting this bug in our temporary version.