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

How to get selected vertex in a polyline

This is a discussion on How to get selected vertex in a polyline within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I'm developing a little app in c# using MapPoint 2004 ActiveX. I can get the selected shape when the ...

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

    How to get selected vertex in a polyline

    Hi,

    I'm developing a little app in c# using MapPoint 2004 ActiveX. I can get the selected shape when the user clicks on it, but what I want to do is to get the current selected vertice.

    Is there any way to do that? I have been looking at shape's vertices property and I can enumerate the vertices, but I'm not able to know which vertex is selected.

    Thanks in advance.

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    hi, i've got the same problem. did you solve it ? if do, please inform me. 10X a lot !

  3. #3
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    Can you find the cursor/pointer location, and use this to get a longitude/latitude coordinate.

    Then do you iteration, finding the closest vertex.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Polyline Size
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 09-29-2004, 07:08 AM
  2. Exporting freeform drawing vertex points to excel
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-02-2004, 03:43 PM
  3. Problem: Pushpin -> Polyline
    By Michelin in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-26-2004, 01:31 PM
  4. Bug on Polyline and line
    By Maverick in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 02-28-2003, 07:10 AM
  5. Is it possible to hide a polyline in MapPoint? I t....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-11-2001, 12:55 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