Paint tracks

Topics: Windows Forms
Oct 17, 2012 at 3:23 PM

Hello! I need your help.

I have much more coordinats in database. I reading it and paint on my gMapControl to use GMarker.

I do it by this way: 

point.Lat = Convert.ToDouble(finish_lat);
point.Lng = Convert.ToDouble(finish_lng);
PointLatLng(point.Lat, point.Lng);
Bitmap btmp = new Bitmap("point.jpg");
GMarkerGoogle ReadedPoint = new GMarkerGoogle(point, btmp);
overlayOne.Markers.Add(ReadedPoint);     

It works in a cycle abot 8000 times. This a very long time.

Maybe there are special methods that quickly draw the path to the coordinates? Or components that are more easily added to the map? Help me please! 

Thanks in advance!

Oct 17, 2012 at 3:56 PM

just add the GMapRoute ;}