Community of VE/MapPoint Users and Developers
This is a discussion on Is it possible to use "Track position" feature wit within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is it possible to use "Track position" feature with the MapPoint Active X control ? Regards, Dag Petersson...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Hi, I dont know, but you can easy do it yourself. Advantage is that you have it in control and display in the map what you want, save what you want etc. Gps receiver is formatted ascii strings easy to get what you want from it.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| 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
|
| |||
|
Hi, I think you can optimize for speed. Instead of ZoomIn a number of times you can decrease Altitude in the GetLocation call. This will gain a lot. Also I use PushPins instead of shapes, but did never compared the speed. If I remember right my program written in delphi5 running on a PII300 machine updates a fleet of around 30..40 vehicles in 3 seconds or so. It should be fast enough I think. Also there could be speed differences in: LocationObject.Goto(); PushPin.Goto(); Map.GotoLatLong(); But I dont know from the top of my head...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| feature, track position, wit |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mappoint exception "Call was rejected by callee" | jliao81 | MapPoint 2006/2009 Discussion | 1 | 06-03-2005 08:53 AM |
| Do I need "Autoroute Europe", if I install "M | bigtail | MapPoint 2006/2009 Discussion | 1 | 03-24-2004 12:58 AM |
| mappoint and "follow gps position" menu | Anonymous | MapPoint 2006/2009 Discussion | 2 | 03-12-2004 06:58 PM |
| Export "Find nearby places" along a route? | Anonymous | MapPoint 2006/2009 Discussion | 4 | 11-06-2003 10:56 AM |
| "Microsoft Mappoint" writing and Pushpin Highligth | feanor | MapPoint 2006/2009 Discussion | 0 | 03-12-2003 05:47 AM |