MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




What type of value is returned by DistanceTo?

This is a discussion on What type of value is returned by DistanceTo? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm running a DistanceTo comparison in Mappoint 2006 (and VB 2005). I've got two locations that I want ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  4 links from elsewhere to this Post. Click to view. #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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-04-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,017
Re: What type of value is returned by DistanceTo?

Hi,

It uses the units value in activemap.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 04-04-2008
OOT OOT is offline
Junior Member
Yellow Belt
 
Join Date: Dec 2006
Posts: 14
Re: What type of value is returned by DistanceTo?

Sweet.

Thank you for the answer. Time to mark this thread "resolved"

OOT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/what-type-value-returned-distanceto-7417.html

Posted By For Type Date
Programming MapPoint via .NET - MapPoint Articles - MP2K Magazine This thread Refback 04-08-2008 06:30 PM
What type of value is returned by DistanceTo? - MapPoint Forums This thread Refback 04-08-2008 10:03 AM
Pushpin Tool Add-in - MP2K Magazine This thread Refback 04-08-2008 08:10 AM
MapPoint User Community - MP2K Magazine This thread Refback 04-06-2008 01:43 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Street Type Johny Wish List 0 06-12-2007 02:11 PM
bad coordinates returned by imagebutton on dell d800 Anonymous MapPoint Web Service and Virtual Earth 0 10-18-2004 03:22 PM
Type of itinerary ifc MapPoint 2006/2009 Discussion 0 04-28-2004 08:32 AM
Object returned by ShowFindDialog Anonymous MapPoint 2006/2009 Discussion 0 04-15-2004 10:00 AM
Fix DistanceTo function PC Wish List 1 03-21-2003 05:35 AM


All times are GMT -5. The time now is 05:49 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Cheap Flights to Benidorm
Book cheap flights to Benidorm with Holiday Hypermarket. Whether Summer or Winter Benidorm is a great destination.

Spain Holidays
Find and book Spain Holidays with Travel Counsellors. Holiday destinations around the world including Spain.

Turkey Holidays
Istanbul is Turkey's prime attraction as it has the most beautiful mosques and palaces of the country; it has Byzantine churches and Roman temples. Book Turkey Holidays online.

Dubai Holidays
Dubai holidays provide you with exotic sights, desert safaris and superb cuisine. There is an extensive range of things to do and see!

Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.

Travel
Check out the travel options on Travel.co.uk.

Cheap Goa Holidays
Experience the world famous Wednesday Flea Market at Anjuna! Book cheap Goa holidays at On The Beach!


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47