Hi
All our vehicles have stored records of their record lat/lon's and we want to show these on the map by a vehicle and date basis using C#.
Any thoughts on how to go about this.
Thanks
This is a discussion on plot history of vehicle within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi All our vehicles have stored records of their record lat/lon's and we want to show these on the map ...
Hi
All our vehicles have stored records of their record lat/lon's and we want to show these on the map by a vehicle and date basis using C#.
Any thoughts on how to go about this.
Thanks
Hi,
I suggest for each vehicle a pushpin, and in the balloon you can display additional information like datetime, or highlight some importand vehicle states if any.
So for each record something like this:
Code:Location Loc = MP.ActiveMap.GetLocation(Lat, Lon, 1); Pushpin PP = MP.ActiveMap.AddPushpin(Loc, VehicleName); PP.Symbol = Symbol; PP.Note = Datetime + "\r\n" + SomeOtherField; if (ShouldDisplayBalloon) PP.BalloonState = GeoBalloonState.geoDisplayBalloon; if (SomeCondition) PP.Highlight = true;
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
Many thanks
Thanks Wilfried
That works, but is there are way of joining them up?
Hi,
What do you exacly mean by this ? Sorry English is not my native language, so you have to be patient for me to understeandjoining them up?![]()
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
There are currently 1 users browsing this thread. (0 members and 1 guests)