MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Displaying a WayPoint without showing the default square

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-19-2006
Senior Member
Green Belt
 
Join Date: Jul 2005
Posts: 105
Displaying a WayPoint without showing the default square

Hi,

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2006
Junior Member
White Belt
 
Join Date: Apr 2006
Posts: 1
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
You may also design you own symbols in a bitmap that would include your number and then insert this bitmap instead of the pushpin:

Code:
Set ObjPin = ObjMap.AddPushpin(ObjLoc, "123")
Set ObjSym = ObjMap.Symbols.Add("marker123.bmp")
ObjPin.Symbol = ObjSym.ID
Set ObjSym = Nothing
Of course, your program could load an empty marker in a picture, overlay the number "123", save the image as "marker123.bmp", so you could dynamically show a marker with any number without having to manually define thousands of bitmaps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2006
Senior Member
Green Belt
 
Join Date: Jul 2005
Posts: 105
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
default, displaying, showing, square, waypoint


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 12:24 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55