MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Checking the vertex within the shape

This is a discussion on Checking the vertex within the shape within the MapPoint Desktop 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 Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #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
Location: Belgium
Posts: 2,407
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


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


All times are GMT -5. The time now is 11:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.0 RC3
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 68 69 70