You need to sign in to do that
Don't have an account?
Jon-Michael Murphey
capture current geolocation with global action
Im needing to create a Global Action or button in my lightning experince on a custom object. Once clicked will update the lat/long fields with the users current location
Please find the sample code below and tweak it as per your requirement.
Component: Controller: ApexC: Hope this helps.
Kindly mark this as solved if the reply was helpful so that it gets removed from the unanswered queue so that it results in helping others who are encountering a similar issue.
Thanks,
Nagendra