Bug or mistake

Apr 30, 2010 at 7:22 PM
In System.Windows.Forms.GMapControl line 300 void GMap_OnMapDrag() { foreach(GMapOverlay o in Overlays) { if(o.IsVisibile) { foreach(GMapMarker obj in o.Markers) { obj.Position = obj.Position; } foreach(GMapPolygon obj in o.Polygons) { UpdatePolygonLocalPosition(obj); } foreach(GMapRoute obj in o.Routes) { UpdateRouteLocalPosition(obj); } } } } the line obj.Position = obj.Position; seams to be a mistake
Coordinator
May 1, 2010 at 9:32 AM

assigning Position change nothing but updates local position, if you have a better idea, please share ;}

May 1, 2010 at 1:55 PM

Maby it is just my eyes

but

obj.Position = obj.Position

that doesn't do anything

you are assigning the same property to itself

 

 

Coordinator
May 1, 2010 at 3:28 PM

does it look now better? ;}