diff options
author | Fabian Guerra <fabian.guerra@mapbox.com> | 2018-07-31 15:24:08 -0700 |
---|---|---|
committer | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2018-08-01 10:21:34 -0700 |
commit | 62fb7e1987a3e6a0f04cb10cc57abf22f7b75081 (patch) | |
tree | e18fa05b8b0eae3d55884aa4fec36aea825e6e42 /platform/ios/src/MGLMapView.h | |
parent | d6c602b48ccb2d38c4556bee9b5a4335a934aa5f (diff) | |
download | qtlocation-mapboxgl-62fb7e1987a3e6a0f04cb10cc57abf22f7b75081.tar.gz |
[ios] Fix location manager null reset.
Diffstat (limited to 'platform/ios/src/MGLMapView.h')
-rw-r--r-- | platform/ios/src/MGLMapView.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index e1520401a7..ddc8be23f0 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -333,9 +333,8 @@ MGL_EXPORT IB_DESIGNABLE To receive the current user location, implement the `-[MGLMapViewDelegate mapView:didUpdateUserLocation:]` and `-[MGLMapViewDelegate mapView:didFailToLocateUserWithError:]` methods. - If setting this property to `nil` and setting `showsUserLocation` to `YES`, or - if no custom manager is provided this property is set to the default - location manager. + If setting this property to `nil` or if no custom manager is provided this property + is set to the default location manager. `MGLMapView` uses a default location manager. If you want to substitute your own location manager, you should do so by setting this property before setting |