This project is read-only.


Feb 17, 2015 at 4:07 PM
Edited Feb 17, 2015 at 4:40 PM
Hi everybody

I am so sorry for my english bad. I am going to explain clearly about the DotSpatial for my Application

What have in the project
In the layer only have a simple Line that I created using the Coordinate array, then use the LineString for drawing a line using MapLineLayer.

My goal is:
When the user is selecting the layer using (FuntionMode.Select), it creates a simple Rectangle (Show below the image). Then the Line layer is selected, I need to get all Selected Lines Coordinates in this Line Layer, it is possible to getting the Coordinates point?.

//Create a 'square' around the clicked point
        //  pLeftTop  _____  pRightTop
        //                  |       |
        //                  |       |
        //                  |_____|
        //    pLeftBot      pRightBot
Why I am doing it?, Because, first of all, The user is selecting, I can know what is the position initial of the line, and the final position, in order to show information for a final user.

Hope you can help me!!

Thanks in advance