GPS
Index
Constructors
Properties
Methods
Methods
get Current Position
getCurrentPosition(
success: (position: GeolocationPosition) => void,
error?: (error: GeolocationPositionError) => void,
options?: Partial<Options>,
): void
Parameters
success: (position: GeolocationPosition) => void
Optional
error: (error: GeolocationPositionError) => voidOptional
options: Partial<Options>
Get the current position of the device.