Version: Smart Feature Phone 2.5
Geolocation.getCurrentPosition()
The Geolocation.getCurrentPosition()
method is used to get the current position of the device.
#
Syntax#
Parameterssuccess
A callback function that takes a Position object as its sole input parameter.error
Optional An optional callback function that takes a PositionError object as its sole input parameter.options
Optional An optional PositionOptions object.