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

How to Add pushpin to a MapPoint Direction every 50m.?

This is a discussion on How to Add pushpin to a MapPoint Direction every 50m.? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, is It possible to add pushpin to a direction map every 50m for example. With VB6, I arrived to ...

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

    How to Add pushpin to a MapPoint Direction every 50m.?

    Hi,
    is It possible to add pushpin to a direction map every 50m for example.
    With VB6, I arrived to add direction road but not pushpin.
    Thank's

  2. #2
    bigRahn is offline Member Yellow Belt
    Join Date
    Oct 2002
    Posts
    46
    Yes, that's possible.

    Of course, if you add it to every direction, after not to far you'll probably run out of space!
    (I imagine seeing a big 8 direction X radiating from your inital point.)

    Off the top of my head, I think the easiest way to do this is actually use longitude and latitude instead of every 50 meters.
    But basic algorythm is:
    put your initial point.
    for x= initialatitude to finallatitude
    for y=initiallongitude to finallongitude
    insert pushpin at initialpoint + x, initial point + y,
    initial point - x, initial point - y
    (etc. for each of the directions you need.)
    next
    next

    Hope that helps getting you started.

    I think I have a routine at home somewhere that does this if you need it.
    (But it's relatively easy to write yourself)

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Quote Originally Posted by bigRahn
    Yes, that's possible.

    Of course, if you add it to every direction, after not to far you'll probably run out of space!
    (I imagine seeing a big 8 direction X radiating from your inital point.)
    Thank's bigRahn for your answer
    But I want put my pushpin on the road.
    Whit your basic algorythm, you put the pushpin on a straight line.
    Is't possible to follow the road.
    Thank's

  4. #4
    bigRahn is offline Member Yellow Belt
    Join Date
    Oct 2002
    Posts
    46

    Ah...

    I missed the staying on the road part...guess in reality, that would make much more sense.

    how about adding a route on your road as you go along, and add the pushpins to that?
    (Do you really need the PP, or will the route do it?)

    If you want to add a point every 50 feet, you can probably use the Distance method. (remember to set units to miles first, then you'll need to do some fancy division...)
    See
    http://msdn.microsoft.com/library/de...entid=28001143

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Getting direction from one pushpin to another...
    By jonknapek in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-16-2005, 09:36 AM
  2. Drawing radius in the wind direction
    By vidyakulkarni in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-10-2004, 02:45 PM
  3. Mappoint direction HELP
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-29-2003, 03:52 PM
  4. Calculating distance without direction-list
    By rbarthels in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-13-2003, 09:57 AM
  5. Fix Direction Location
    By Bob Chase in forum Wish List
    Replies: 0
    Last Post: 03-21-2003, 05:31 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