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

adding a pushpin to route when dragging the route

This is a discussion on adding a pushpin to route when dragging the route within the MapPoint Desktop Discussion forums, part of the Map Forums category; In mappoint you can click on the route to select it and then click a point on the route and ...

  1. #1
    stephenmillington is offline Member Yellow Belt
    Join Date
    Jun 2004
    Posts
    40

    Question adding a pushpin to route when dragging the route

    In mappoint you can click on the route to select it and then click a point on the route and drag the mouse to a location on the map and it recalculates the route to go via this point. However I have added various pushpins to the map and if the user drags the mouse to one of these pushpins I want it to add the pushpin to the route instead of the place on the map.

    The only way I can think of achieving this is in the RouteAfterCalculate event to scan the waypoints on the routine and then for any that I don't recognise as being associated with a pushpin I work out the nearest pushpin to this waypoint and substitute the pushpin for the existing waypoint.

    Basically I have a map of pushpins that represent orders and a route which represents the orders currently on a load and if they click and the drag the route to go via an order not currently on the route I want to place that order on the route. I know you can simply click the pushpin and then add it to the route but a user of ours wants to know if we can do it the way I have explained above.

    Is there any better solution to what I have proposed?

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

    Re: adding a pushpin to route when dragging the route

    Hi,

    Can you rephrase your question because I don't understand what exactly the customer want nor your solution.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding Pushpin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 03-11-2005, 08:23 AM
  2. Adding custom pushpin symbol
    By M.Vrolijk in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-20-2004, 07:55 AM
  3. HELP: Adding points linkdata to a route
    By jose luis in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-26-2004, 02:47 PM
  4. How do I calculate a route distance without displaying route
    By spideybud in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 09-09-2003, 11:14 AM
  5. Programatically adding push pins on a route
    By Fabian in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-17-2003, 04:52 PM

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