Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Get the distance between two shape

$
0
0
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 in kilometers?
map.TileProvider = tkTileProvider.OpenStreetMap;
map.Projection = tkMapProjection.PROJECTION_NONE;

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>