Geolocation.getCurrentPosition()

static getCurrentPosition(geo_success, geo_error?, geo_options?)

Invokes the success callback once with the latest location info. Supported options: timeout (ms), maximumAge (ms), enableHighAccuracy (bool) On Android, this can return almost immediately if the location is cached or request an update, which might take a while.

doc_React_Native
2016-06-23 04:24:03
Comments
Leave a Comment

Please login to continue.