This project is read-only.

How to get ARItems with my 'distance to' TextBlock to update with WorldView changing location?

Jul 9, 2015 at 5:05 AM
Edited Jul 9, 2015 at 5:07 AM
Could you please help me with GART?
I'm currently carrying out my own Haversine distance calculations with each of my ARItem's Lat Long locations item, from my location, to initially populated the ARItems. My next task was to work out how to generate a 'my location' change handler so as to recalculate and update these as the WorldView location changes.
Instead of starting on this I was wondering if the distance to each ARItem, from my location, already exist within GART, so that I may replace my own distance calculations with data that is already available? How might I get this changing distance, for each ARItem, to display and update within each 'distance' TextBlock?

Thank you.

Aug 3, 2015 at 12:20 AM
Sorted it. GetDistanceTo() is provided as a method of System.Device.Location.GeoCoordinate class and provides the distance to another location.