Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Label Waypoints

This is a discussion on Label Waypoints within the MapPoint Desktop 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 ...

  1. #1
    MD2000 is offline 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

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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...

  3. #3
    MD2000 is offline 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

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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.

  5. #5
    MD2000 is offline 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

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    You can hide each balloon with following code:

    Code:
    PP.BalloonState = GeoBalloonState.geoDisplayNone;

  7. #7
    MD2000 is offline 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

  8. #8
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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

  9. #9
    MD2000 is offline Member Yellow Belt
    Join Date
    Feb 2005
    Posts
    32
    thank you very much for your support.

  10. #10
    tea_boy is offline 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

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Displaying a label with each pushpin
    By BobFromBoston in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 02-25-2007, 10:46 AM
  2. Modifying the Label in MapPoint
    By sparky in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-17-2006, 07:11 AM
  3. Textboxes Without Borders or Label Objects
    By malejo in forum Wish List
    Replies: 0
    Last Post: 08-17-2005, 11:31 AM
  4. Working with Baloons & Name (label)
    By Anonymous in forum Wish List
    Replies: 2
    Last Post: 11-26-2002, 06:07 AM
  5. specify label to all the objects of a layer
    By Anonymous in forum Wish List
    Replies: 0
    Last Post: 08-28-2002, 08:22 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96