Community of MapPoint and Bing Maps Users and Developers
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 ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How to get selected vertex in a polyline 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. |
| ||||
|
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 See the Geoweb Guru for online mapping |
![]() |
| Tags |
| polyline, selected, vertex |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Polyline Size | Anonymous | MapPoint Desktop Discussion | 4 | 09-29-2004 07:08 AM |
| Exporting freeform drawing vertex points to excel | Anonymous | MapPoint Desktop Discussion | 1 | 04-02-2004 03:43 PM |
| Problem: Pushpin -> Polyline | Michelin | MapPoint Desktop Discussion | 1 | 02-26-2004 01:31 PM |
| Bug on Polyline and line | Maverick | MapPoint Desktop Discussion | 0 | 02-28-2003 07:10 AM |
| Is it possible to hide a polyline in MapPoint? I t.... | Anonymous | MapPoint Desktop Discussion | 1 | 10-11-2001 12:55 AM |