HOw i can calculate shortest distance between two points using SharpMap

Topics: SharpMap v0.9 / v1.x, SharpMap v2.0
Nov 26, 2007 at 4:11 AM
Hi everybody,

Can anybody suggest me or give me code to calsulate distance b/w two points on same map like we do in case of maps.google and please suggest me how we can locate a point on map using sharpmap.

please do reply as soon as possible.
Nov 26, 2007 at 7:06 AM
For the distance, you can use the Distance function of the SharpMap.Geometries.Point object. IIRC it returns the distance in radians so you have to convert this to whatever distance unit you are using.
Dec 2, 2007 at 9:49 PM
sorry but when i wrote SharpMap.Geometries.(not found point object and IIRC) how can get it?????????