This project is read-only.

Please! I want to sample code( for double click shp file and return data to textbox

Apr 6, 2011 at 6:19 PM

I want sample code( for double click shp file(polygon) and return data in attributes table column to textbox

thank you very much...

thank you.



Apr 6, 2011 at 6:46 PM

Could you describe in more detail what you are trying to do?

Do you want to click a polygon in a map view and fetch the attributes from that that Feature? 


If you want to do this in a Map Control you can just set

           map.FunctionMode = FunctionMode.Info;


If you need to customize the process check the MapFunction itself.


File is :    DotSpatial\DotSpatial.Controls\DotSpatial.Controls\MapFunctionIdentify.cs


The class is  MapFunctionIdentify