Community of MapPoint and Bing Maps Users and Developers
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 ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Checking the vertex within the shape 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. |
| |||
| 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.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz www.comfortsoftware.be www.expertsoftware.be MapPoint coding demo |
![]() |
| Tags |
| checking, shape, vertex |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |