Community of VE/MapPoint Users and Developers
This is a discussion on MapPoint 2004 Active-X control: how to "bump" pus within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I'm building an application that will use MapPoint to plot route efficiency for our delivery trucks. When we have ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Hi, I think the best you can do is to give both pushpins a littel difference in lat/long so that they are next to each other when zoomed in.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| ||||
| MapPoint 2004 Active-X control: how to "bump" pus
Wilfried, I see that MapPoint.Pushpin doesn't have any properties for latitude or longitude. How does one go about changing the pushpin location's lat/lon coordinates? Thanks again for your help, please bear with me I'm a bit new to MapPoint. Andre Ranieri |
| |||
|
Hi Andre, Correct, but a pushpin has a location object that can be changed. For example this example move a pushpin to a different location if found: Code: private void MovePP(string name, double lat, double lon)
{
Location loc = mp.ActiveMap.GetLocation(lat, lon, 1);
Pushpin pp = mp.ActiveMap.FindPushpin(name);
if (pp == null)
return;
pp.Location = loc;
pp.GoTo();
}
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| activex, bump, control, mappoint 2004, pus |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |
| "Microsoft Mappoint" writing and Pushpin Highligth | feanor | MapPoint 2006/2009 Discussion | 0 | 03-12-2003 05:47 AM |
| MapPoint 2002 in VB6 "Program is not responding" | Anonymous | MapPoint 2006/2009 Discussion | 4 | 11-14-2002 11:51 PM |