I am trying to calculate distances between two points:
IPoint workPoint = CreatePoint(XX.XXXXX, -YY.YYYYYY);
IPoint homePoint = CreatePoint(XX.XXXXX, -YY.YYYYYY);
System.Console.WriteLine(homePoint.Distance(workPoint));
The docs state that Distance returns a double, and says that depending
on the unit, it could be meters, miles...
My question is how to I specify what the return value should specify
(I would like it to be miles).
Am I looking in the wrong place?
C