Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

Is it possible to use "Track position" feature wit

This is a discussion on Is it possible to use "Track position" feature wit within the MapPoint Desktop 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...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Is it possible to use "Track position" feature wit

    Is it possible to use "Track position" feature with the MapPoint Active X control ?

    Regards, Dag Petersson

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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.

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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 &#40;int i=0; i<5; i++&#41;
    &#123;
    mp.ActiveMap.ZoomIn&#40;&#41;;
    &#125;
    shpCar = mp.ActiveMap.Shapes.AddShape&#40;MapPoint.GeoAutoShapeType.geoShapeOval,objLoc,0.05,0.05&#41;;
    
    shpCar.Line.ForeColor = 16711680; // Blue

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mappoint exception "Call was rejected by callee"
    By jliao81 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-03-2005, 08:53 AM
  2. Do I need "Autoroute Europe", if I install "M
    By bigtail in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-24-2004, 12:58 AM
  3. mappoint and "follow gps position" menu
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-12-2004, 06:58 PM
  4. Export "Find nearby places" along a route?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-06-2003, 10:56 AM
  5. "Microsoft Mappoint" writing and Pushpin Highligth
    By feanor in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-12-2003, 05:47 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25