Community of VE/MapPoint Users and Developers
This is a discussion on Displaying a WayPoint without showing the default square within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, Is there a way to override the image MapPoint (ActiveX) assigns to a WayPoint? I get the start of ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Displaying a WayPoint without showing the default square Is there a way to override the image MapPoint (ActiveX) assigns to a WayPoint? I get the start of the route assigned the number "1" in a box, and each subsequent WayPoint on the route is given a number inside a box. Is there a way around this? Can I change the image or suppress the box entirely? Thanks for the help. I hope it's possible. This yellow square has been bugging me since I started using MapPoint. Thanks, Bob |
| |||
|
To display your waypoint, I assume you actually insert a pushpin? You may change the default pushpin symbol: Code: Set ObjPin = ObjMap.AddPushpin(ObjLoc, "123") ObjPin.symbol = 62 Code: Set ObjPin = ObjMap.AddPushpin(ObjLoc, "123")
Set ObjSym = ObjMap.Symbols.Add("marker123.bmp")
ObjPin.Symbol = ObjSym.ID
Set ObjSym = Nothing
|
| |||
| can't seem to stop the default behavior, have better idea.
I tried your code, but find that MapPoint automatically places a square on every waypoint, regardless of the pushpin associated with the location. And this exactly matches the way the MapPoint program treats waypoints of a route I create with it. So I am abandoning this method in favor of one which has more promise. I now think my best bet is to add the waypoints to the route, calculate the route, store the invidiual legs of the journey, then delete the route. If I then add each leg of the journey myself, and add pushpins where the waypoints were, I can rebuild the image I desire. Is it difficult to load the individual legs into an array, then create my own route? Thanks for any suggestions. I've been hoping for a long time to have more control over drawing the route, anyway. Thanks, Bob |
![]() |
| Tags |
| default, displaying, showing, square, waypoint |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange behaviour with square brackets. | fergdeff | MapPoint 2006/2009 Discussion | 4 | 01-07-2006 04:27 AM |
| How to get the Locations for the 4 vertices of a Square? | cx123 | MapPoint 2006/2009 Discussion | 0 | 10-26-2004 11:01 AM |
| Default Value in Find | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-01-2004 01:25 PM |
| address from waypoint | starbuck | MapPoint 2006/2009 Discussion | 7 | 11-18-2003 09:04 AM |
| Put a waypoint! | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-14-2003 10:44 AM |