getGeoLocation
Returns the geo location and additional information like speed and altitude if available. Be aware, that this is an asynchronous function and you have to use await.
Last updated
Was this helpful?
Returns the geo location and additional information like speed and altitude if available. Be aware, that this is an asynchronous function and you have to use await.
Last updated
Was this helpful?
The Result looks like this:
To Visualize a geo location in google maps, see this documentation() for possible url parameters, You could use the following commands in an event:
The getGeoLocation function returns the current geographical location (latitude and longitude) asynchronously. It (internally) utilizes the getCurrentPosition function to retrieve the current position. It returns a Promise that resolves to the current geographic location (latitude and longitude).