MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Checking the vertex within the shape

This is a discussion on Checking the vertex within the shape within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I am creating different zones using shape object. But while creating I don't want the shapes to overlap, that ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (6) Thread Tools Display Modes
  6 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-30-2008
Junior Member
Yellow Belt
 
Join Date: Apr 2008
Posts: 27
Checking the vertex within the shape

Hi,
I am creating different zones using shape object. But while creating I don't want the shapes to overlap, that means each shape should be unique. So I want to check on click event whether a particular location falls within the existing shape. How to check.
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-03-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Re: Checking the vertex within the shape

Hi,

You mention onClick, so I assume that you want to have the user draw shapes and that the program must forbid that the shapes overlap each other?

Yes OnClick event is indeed the right place to check. If overlap then some action can be taken. You don't tell if you want the user to use the drawing tools but as an alternative you could draw the lines yourself. I think your program has more control on such things.
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
checking, shape, vertex


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/checking-vertex-within-shape-7972.html

Posted By For Type Date
Reverse Geocoding with MapPoint 2002 - MapPoint Articles - MP2K Magazine This thread Refback 07-08-2008 02:41 AM
Reverse Geocoding, Another Method - MapPoint Articles - MP2K Magazine This thread Refback 07-08-2008 02:39 AM
More on reverse geocoding, MapPoint on MSDN, and contest round-up - MP2K Update Archives - MP2K Magazine This thread Refback 07-08-2008 02:36 AM
Formatting Coordinates with DmsFormat - MapPoint Articles - MP2K Magazine This thread Refback 07-05-2008 02:13 AM
Reverse Geocoding, Pt. III - MapPoint Articles - MP2K Magazine This thread Refback 07-02-2008 06:35 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 07-01-2008 08:20 AM

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
Territory as shape renatoa MapPoint 2006/2009 Discussion 0 05-29-2006 11:18 AM
Does an object reside in my Shape or Shape boundaries? hotrdd MapPoint 2006/2009 Discussion 1 08-04-2005 09:51 PM
Checking for the existence of a particular DataSet joer1234 MapPoint 2006/2009 Discussion 1 01-28-2005 04:38 AM
How to get selected vertex in a polyline Anonymous MapPoint 2006/2009 Discussion 2 07-11-2004 10:10 AM
Exporting freeform drawing vertex points to excel Anonymous MapPoint 2006/2009 Discussion 1 04-02-2004 02:43 PM


All times are GMT -5. The time now is 10:51 PM.


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

Menorca Holiday
Enjoy a Menorca holiday at a great rate when booked through UlookUbook!

Nightlife London
Looking for nightlife in London? Qype has all the anwsers!



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