How to find distance of 2 places from images of map generated from shape file

Mar 3, 2012 at 10:01 AM

Hai to all

   I am developing a web based application using,sharpmap and postgresql with postgis as back end. i displayed map form shape file,shape file is stored in postgresql . Map is displace in imagebutton tool in .net. Now i want to find distance of two places(point) from map. please give  valid comments