This project is read-only.

Get the distance between two shape

Mar 24, 2016 at 9:03 AM
Edited Mar 28, 2016 at 3:29 PM
hello, i get the distance
Shapefile sf = map.get_Shapefile(m_layerHandle);
Shape shp = sf.Shape[0];
Shape shp1 = sf.Shape[1];
var dist = shp.Distance(shp1);
but it is not in kilometers, and get in the MU, how translated to kilometers?
map.TileProvider = tkTileProvider.OpenStreetMap;
map.Projection = tkMapProjection.PROJECTION_NONE;