Hi,
I have a neat POI form that tracks all of my favorite destinations and uses JavaScript to calculate their distance from my current location. (It sorts by Distance, making it easy to see which places are nearby.)
I created a POI record called Current Location which I manually update each time I travel. Each other POI calculates the distance away from that Current Location POI.
I was wondering if there is anyway to automatically update the Location field of my Current Location record. I have googled a bit and see mention of a navigator.geolocation object, but Tapforms throws an error when I try to reference it.
Does anyone have any other ideas how I might capture my Current Location via JavaScript?
Thanks,
Pinny
-
This topic was modified 1 year, 3 months ago by Pinny Berlin. Reason: Added photo of Form
Attachments:
You must be
logged in to view attached files.
Hi Pinny,
I’m sorry, but I don’t have an API in Tap Forms to get the current location via JavaScript. I’ll see about adding one.
Thanks,
Brendan