Say I have a collection of locations and I want to find out which one is the closest to another specified location, how would I do this?
Thanks,
Rod
1 Answer, 1 is accepted
0
Accepted
Andrey
Telerik team
answered on 12 Nov 2010, 04:41 PM
Hi Rod Yager,
You can find out the closest point to the location using calculation of distance between the location and elements of the collection. You can create the LocationRect instance from two locations and then calculate a distance using Width and Height properties.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items