MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-06-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-11-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
hi, i've got the same problem. did you solve it ? if do, please inform me. 10X a lot !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-11-2004
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,343
Blog Entries: 33
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
polyline, selected, vertex


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

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


All times are GMT -5. The time now is 08:19 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
MP2K Magazine
Visitor Map



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