Community of VE/MapPoint Users and Developers
This is a discussion on Programatically plot a route based on GPS position within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Using the mappoint OCX want to route based on current GPS position and a given address. In fact, if I ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Programatically plot a route based on GPS position |
| |||
|
Hi, You receive position then place a pushpin on the map like following example: Code: Location loc = mp.ActiveMap.GetLocation(lat, lon, 1);
Pushpin pp = mp.ActiveMap.AddPushpin(loc, vehicleName);
pp.Symbol = 1;
Code: pp.Note = vehicleName + otherInfo; Code: PP.BalloonState = GeoBalloonState.geoDisplayName;
pp.BalloonState = GeoBalloonState.geoDisplayBalloon;
pp.Highlight = true;
Code: PP.GoTo();
mp.ActiveMap.GoToLatLong(lat, lon, alt);
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi, This is fast reply I dont really understeand. You can programmaticly put positions on map. You receive postion can in various ways, but this is enterly depending on your application. For example if you want to have a dispatch centre with whole fleet, then you must write a server getting all positions of the fleet. This can be done with GSM's or with boardcomputers, etc. There are GSM that can send a GPS position. Some GSM providers (not all) also have a service to give the position of it. That's what mappoint location server make use off. But not all GSM providers have that service. Please tell me some more of your application so that we able to help more.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Okay sorry what I am wondernig is how am I going to get the current lattitude and longitude out of my GPS receiver. BTW, I am using the Pharos BT GPS Rx. My application is very simple, I only want to be able to plot a route based on one's current GPS position to a given address. Does that make sense? |
| |||
|
Hi, I cannot give code example because I do not have PC based application to get positions out of GPS receiver. But it is very simple. Program your GPS receiver to give GGA or RMC strings, just parse it and give the coordinates to mappoint.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPoint to Gif Programatically | Anonymous | MapPoint 2006/2009 Discussion | 5 | 03-17-2004 08:32 AM |
| Programatically adding push pins on a route | Fabian | MapPoint 2006/2009 Discussion | 2 | 07-17-2003 03:52 PM |
| With MP2K does anyone know how to programatically .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-29-2002 06:19 AM |
| Is there a way to programatically switch the mouse.... | Anonymous | MapPoint 2006/2009 Discussion | 2 | 07-19-2002 09:14 AM |
| How does one programatically in VB present anoutli.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-07-2001 01:13 PM |
Gatwick Flights
Find out key information about Gatwick airport on Holiday Hypermarket. We can help book great value flights to and from Gatwick as well.
Travel Agent UK
Travel Counsellors was named UK's Best Travel Agent at the Guardian Unlimited travel awards. Whatever your travel needs we can help.
Cheap Flights to Cape Town
Here at dealchecker.co.uk we’ll shop around for cheap flights to Cape Town so you don’t have to. Find and Compare prices from over twenty UK travel agents with just one search.
Holidays to Barbados
Holidays to Barbados have so much to offer. Enjoy the beauty of this Caribbean island for less by booking your holiday through us.
Cheap Turkey Holidays
The best time of year to sneak in cheap Turkey holidays is during the off-peak season. Check out the great deals available during April, May or October. For other tips on how to bag a great value holiday simply check online at ulookubook.com
Cheap holiday comparison
Travel.co.uk is a comparison service which makes it easy to search and find your cheap holiday options.
Cheap Fuerteventura Holidays
Enjoy the deep sands of the Canary Islands. Find cheap Fuerteventura holidays at On The Beach!