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 5 of 5

Connect pushpins and then remove the symbols?

This is a discussion on Connect pushpins and then remove the symbols? within the MapPoint Desktop Discussion forums, part of the Map Forums category; I'm very new to MapPoint and I'm trying to accomplish what seemed like a very simple task. I use my ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Connect pushpins and then remove the symbols?

    I'm very new to MapPoint and I'm trying to accomplish what seemed like a very simple task. I use my GPS to record offroad hiking trips. I can get this dataset imported to MapPoint as a set of pushpins easily enough. What I'd like to do next is to connect all of these points to show the route I hiked and then remove the pushpin symbols leaving only the routeline. The only way I've found of doing this is to manually draw a line from one pushpin to next and so on. With a couple of thousand of pushpins comprising single hike, this is very time consuming. Manually going through the steps of doing each thing (import the data, connect the pushpins, remove the pushpins) is fine - I'd just like to speed up the connecting-of-pushpins step.

    Is there any way (without custom programming) to get MapPoint to connect all of these points for me?

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    I think you would need the custom programming for this one....

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Instead of drawing a line from one pushpin to another you should draw 1 polyline, this is much faster. You wil need to create an array of Mappoint locations and draw a polyline based on this array.

    something like this:


    Code:
    locations[0] = ActiveMap.GetLocation(lat1,lon1,1);
    locations[1] = ActiveMap.GetLocation(lat2, lon2,1);
    locations[2] = ActiveMap.GetLocation(lat3, lon3,1);
    .
    .
    .
    
    RoutePolyLine = ActiveMap.Shapes.AddPolyline(locations);

  4. #4
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Instead of drawing a line from one pushpin to another you should draw 1 polyline, this is much faster. You wil need to create an array of Mappoint locations and draw a polyline based on this array.

    something like this:


    Code:
    locations[0] = ActiveMap.GetLocation(lat1,lon1,1);
    locations[1] = ActiveMap.GetLocation(lat2, lon2,1);
    locations[2] = ActiveMap.GetLocation(lat3, lon3,1);
    .
    .
    .
    
    RoutePolyLine = ActiveMap.Shapes.AddPolyline(locations);

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Instead of drawing a line from one pushpin to another you should draw 1 polyline, this is much faster. You wil need to create an array of Mappoint locations and draw a polyline based on this array.

    something like this:

    locations[0] = ActiveMap.GetLocation(lat1,lon1,1);
    locations[1] = ActiveMap.GetLocation(lat2, lon2,1);
    locations[2] = ActiveMap.GetLocation(lat3, lon3,1);
    .
    .
    .

    RoutePolyLine = ActiveMap.Shapes.AddPolyline(locations);

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Having trouble getting symbols to match MapPoint's symbols
    By BobFromBoston in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-07-2006, 02:06 PM
  2. Custom Pushpins symbols
    By mionut in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-18-2005, 11:24 AM
  3. Clear/Remove all Pushpins in Mappoint?
    By i3bex in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 10-12-2005, 02:29 PM
  4. Changing symbols of multiple pushpins.
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 02-28-2005, 02:57 AM
  5. connect dots
    By misterb83 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 02-13-2003, 10:57 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