MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 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...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-15-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2005
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
feature, track position, wit


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 11:20 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54