This project has moved and is read-only. For the latest updates, please go here.

handel info from map

Topics: SharpMap Project
Aug 17, 2009 at 3:26 PM


i am asking about how can i take information from map

i display icon on the map on specific place by Long & Lat



//SharpMap.Data.Providers.GeometryProvider tempGeometryProvider = (SharpMap.Data.Providers.GeometryProvider)tempLayer.DataSource;

//tempGeometryProvider.Geometries.Add(new SharpMap.Geometries.Point(longitude, latitude));


then i want the user when click or double click by mouse on icon on the map

handle this click and take the detials information of this icon  { ID , name , long & Lat, area name or city } this info i assaign it before ;

and send it or show it in message box whatever