View Single Post

  #3 (permalink)  
Old 01-19-2005
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
RE:

I've done one solution together with franson.biz GPSTools (it works fine), but when i do updates on MapPoint control it it a lot slower than the "interanal "Track Position" feature.

This is the way i do it today:

Code:
MapPoint.Location objLoc;
// X, Y from GPS receiver			
MapPoint.Shape shpCar;	
objLoc = mp.ActiveMap.GetLocation(X,Y,100);
objLoc.GoTo();

for (int i=0; i<5; i++)
{
mp.ActiveMap.ZoomIn();
}
shpCar = mp.ActiveMap.Shapes.AddShape(MapPoint.GeoAutoShapeType.geoShapeOval,objLoc,0.05,0.05);

shpCar.Line.ForeColor = 16711680; // Blue
Reply With Quote