Hi,
I have a map with 3 layers.
The base layer displays imagery of an area of a sea port.
The second layer displays a previously created Polygon (container polygon).
The third layer uses an Editor to enable the user to draw another polygon.
How do I restrict the new Polygon so that it is completely contained by the 'container' polygon on the second layer.
Please note that I am already using RelationAsync as each Vertex is dropped to determine if the MapPoint is within or outside the container. I use UndoVertex if the point is not inside the 'container' polygon.
This does not work very well and a user is able to draw rings across the border of the container polygon in certain situations.
Is there a better way to limit the editing domain on a layer to a certain geometry or area?
thanks
Barry