ThinkGeo.com    |     Documentation    |     Premium Support

DynamicOverlay layers does not redraw

Hi,


I'm loading some of my layers as staticOverlay layers and the layers that the user can edit as dynamicOverlay layers.  My dynamicOverlay does not redraw completely after a user save a new shape or edit an existing shape.  I do an update or a save to the shapefile and then I call the Map1.DynamicOverlay.Redraw(); .... only half of the shapes redraw. 


I decided to do a test and I loaded all my layers as staticOverlay layers and I changed  the Map1.DynamicOverlay.Redraw(); to Map1.StaticOverlay.Redraw(); and then all the shapes redraw.    Does anyone know why this is happening?


Thanks,


Sonja


 



Sonja, 


We have a demo as following that we put a shape file layer into a dynamic overlay, update that shape file and refresh. That sample works fine and can you have a look if that demo solves your problem. If not please let us know what the difference between your app and that sample is. It will be great if you can send your sample to us so we can recreate here.
 
gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/5324/afv/topic/Default.aspx
 
Thanks,
 
Ben