what's it means on GMap_OnMapDrag?

Jan 20, 2010 at 12:10 AM

at the line 269 of  GMapControl.cs, the function void GMap_OnMapDrag() has the following code 

        foreach(GMapMarker obj in o.Markers)

               {

                  obj.Position = obj.Position;

               }

are these useful?

while i adding a marker when i was dragging the mapcontrol, it will always occurs exception in these code, because of the markers collection has changed and no more to  foreach operation.

Coordinator
Jan 20, 2010 at 12:04 PM

do you add them from other thread?