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
Results 1 to 2 of 2

Route Waypoint Name

This is a discussion on Route Waypoint Name within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am adding waypoints to a route using longitude/latitude coordinates using: objRoute.Waypoints.Add .GetLocation(RS!LATITUDE, RS!LONGITUDE) When calculating the route and displaying ...

  1. #1
    Vic
    Vic is offline Junior Member White Belt
    Join Date
    Aug 2002
    Posts
    3

    Route Waypoint Name

    I am adding waypoints to a route using longitude/latitude coordinates using:
    objRoute.Waypoints.Add .GetLocation(RS!LATITUDE, RS!LONGITUDE)

    When calculating the route and displaying the ordered waypoints using
    objRoute.Waypoints.Item(k).Name
    the Name property displays the numeric values of the latitude a longitude coordinates.

    My question is:
    How can I asign the waypoints my own (user defined) names so that when I display route waypoints or route directions, it displays my own user defined names for the waypoint instead of the longitude/latitude values?

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Vic,

    Code could look something like this:

    Set objLoc = objMap.GetLocation(RS!LATITUDE, RS!LONGITUDE)

    objRoute.Waypoints.Add objLoc, "My Waypoint Name"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Geocoordinates from a waypoint
    By chpw in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 04-05-2006, 09:53 AM
  2. Zoom to Waypoint
    By BobIDEAS in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-08-2004, 01:41 PM
  3. address from waypoint
    By starbuck in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 11-18-2003, 08:04 AM
  4. Put a waypoint!
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-14-2003, 09:44 AM
  5. Getting multiple location on a route between 2 waypoint.
    By johnny in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-20-2003, 05: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