MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Label Waypoints

This is a discussion on Label Waypoints within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I add waypoints to a route with the following line: Code: way = route.Waypoints.Add(loc, "Label"); How can I make ...


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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 02-21-2005
Member
Yellow Belt
 
Join Date: Feb 2005
Posts: 32
Label Waypoints

Hello,
I add waypoints to a route with the following line:

Code:
way = route.Waypoints.Add(loc, "Label");
How can I make the labels been shown on the map?

Bye,

MD
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 02-21-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Something like this will get you going:

Code:
            Directions dir = route.Directions;
            foreach (MapPoint.Direction d in dir) {
                if (d.Type == GeoDirectionType.geoDirectionWaypoint) {
                    if (d.Waypoint.Name == "Label")
                        d.Select();
However I dont know if you can show them all together on the map...
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 02-22-2005
Member
Yellow Belt
 
Join Date: Feb 2005
Posts: 32
I'm not sure if I explained it right.
I have the GPS latitude and longitude of several points. I added them as waypoints to MapPoint and made a route out of them.
Now, I want to add additional data (like a time stamp) to each waypoint and the information should be shown in MapPoint.

Bye,

MD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 02-23-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Then I suggest to put a pushpin on each waypoint an you can give it a text balloon with the additional information. You can nice format it with CrLf and Tab characters.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 02-26-2005
Member
Yellow Belt
 
Join Date: Feb 2005
Posts: 32
I solved it now with pushpins having a text ballon showing the time information. How can I now disable the waypoints label? The number of the waypoints are shown (1,2,3...).

Bye,

MD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 02-26-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

You can hide each balloon with following code:

Code:
PP.BalloonState = GeoBalloonState.geoDisplayNone;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 02-28-2005
Member
Yellow Belt
 
Join Date: Feb 2005
Posts: 32
Hello,
I don't want to disable the balloons.
I'm looking for a way to disable the numbering of the waypoints on the map.
Each waypoint is indicated by a number on the map and I would like to get rid of these numbers on the map.

Is there a description on the Web about all the methods provided by the MapPont COM object?

Bye,

MD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 02-28-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Dont think it is possible, but a workaround could be you place your own symbols on top of each waypoint, so the original data with the number in it is then hidden.

Mappoint (Europe) comes with complete help for programming. In the help is a button 'options' then 'show tabs'. then you have 'programming information' with all there is inside
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 02-28-2005
Member
Yellow Belt
 
Join Date: Feb 2005
Posts: 32
thank you very much for your support.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 11-06-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 9
Re: Label Waypoints

I have had a similar problem when displaying a route, although i have not been able to hide the numbers associated with each waypoint in the route, if you add a pushpin on top of the waypoint and then call the Select() method on the pushpin it will bring the pushpin to the front and hide the waypoints number, untill the waypoint is selected
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
label, waypoints


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/label-waypoints-3851.html

Posted By For Type Date
get latitude from waypoints mappoint | VIRGILIO Ricerca | Web This thread Refback 08-13-2008 04:40 AM

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
Displaying a label with each pushpin BobFromBoston MapPoint 2006/2009 Discussion 6 02-25-2007 10:46 AM
Modifying the Label in MapPoint sparky MapPoint 2006/2009 Discussion 2 05-17-2006 07:11 AM
Textboxes Without Borders or Label Objects malejo Wish List 0 08-17-2005 11:31 AM
Working with Baloons & Name (label) Anonymous Wish List 2 11-26-2002 06:07 AM
specify label to all the objects of a layer Anonymous Wish List 0 08-28-2002 08:22 AM


All times are GMT -5. The time now is 10:33 AM.


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