View Single Post

  #1 (permalink)  
Old 04-04-2008
OOT OOT is offline
Junior Member
Yellow Belt
 
Join Date: Dec 2006
Posts: 14
Thumbs up [ Resolved ] What type of value is returned by DistanceTo?

I'm running a DistanceTo comparison in Mappoint 2006 (and VB 2005). I've got two locations that I want to get the DistanceTo value. My question is what the return value represents? Is it miles or kilometers. I'm thinking that it's miles (on FormLoad I set the AxMappointControl1.Units = geoMiles) but I need to be absolutely sure.

Does DistanceTo use the Units measurement from the ActiveMap or does it have it's own default return value?

Thanks in advance for any and all help that you can give. It is very much appreciated.

OOT

Last edited by OOT; 04-04-2008 at 10:47 AM. Reason: Resolved!
Reply With Quote