ILocationProvider | iOS SDK | 2GIS Documentation


The geoposition source interface that the platform implements.


The best currently known geoposition. If there is no currently known geoposition, nil is returned. The geoposition returned by this method may be invalid (see setCallbacks). This method should query the system for the best currently known geoposition and return it even if it is out of date and/or not accurate enough. If the platform API does not provide a similarly functional method, this method should always return nil.