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