On the map I have a fixed location, and also the logged in user ( or guests) location. When I show the map, I need to show the person moving (basically towards the fixed location).
FIXED LOCATION: THIS WORKS: Query with ‘Set’ button calls process below. So one time we walk by each fixed location and hit set on the appropriate query FixedMarker.
CREATE MGeoLocation WITH MGeoLocation.HighAccuracy='Yes'
FixedMarker.Location=MGeoLocation
MOBILE GET LOCATION INTO FixedMarker.Location
PROBLEM: Need users movement toward fixed location:
I tried a background 'process' to update the location and to refresh the screen. It looks like nothing happens until I save the form. Also, I’m wondering if there is a way to trigger a refresh, in only when on certain form, and even better, just on the mobile map tab?
My process is:
CREATE MGeoLocation
MOBILE GET LOCATION INTO MGeoLocation (not sure I need this)
MOBILE START LOCATION WATCH INTO MGeoLocation
My assumption is that I don’t need to put this in an object like the fixed location. This should just be the persons moving location whether they are logged in, guest, etc.?
Lastly: Accuracy is not good enough. Any ideas on how to improve it. I am using the HighAccuracy='Yes'
Any help is appreciated. Mark F