I am developing my own FE in VB.net using MS MapPoint 2006. Currently, I have an NMEA interpreter that reads from the GPS and displays the Lat/Lon on the screen. I also found a way to add a "pushpin" for the vehicles current location. But I think that there might be a better way to display the vehicle location on the map. I have searched google and these forums to no avail...
Here is the code that I have to show the vehicle location:
Currently this code works and I pass the Lat/Lon variables from the serial read function. But it appears when I turn on the MP balloons that it is really creating one pushpin ontop of another. Everytime the GPS updates I get a new balloon.
'set map starting point
objLoc = objMap.GetLocation(Lat, Lon)
Dim objVehicle As MapPoint.Pushpin
objVehicle = objMap.AddPushpin(objLoc, "")
' Change pushpin symbol (the one we added for this purpose)
objVehicle.Symbol = 336
Am I locating the vehicle properly? Any help is greatly appreciated.