summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2018-06-25 13:08:19 -0700
committerFabian Guerra <fabian.guerra@mapbox.com>2018-07-20 09:46:38 -0700
commit0c747d14337f8ed60f4d7e5b34ba4afa79f67352 (patch)
tree03001a2c3bc5e57b61c553fa5422c56d10bae5bb
parent2441e6857e309c86dda721070c43683f7efb1607 (diff)
downloadqtlocation-mapboxgl-0c747d14337f8ed60f4d7e5b34ba4afa79f67352.tar.gz
[ios] Clarify location manager usage.
-rw-r--r--platform/ios/src/MGLMapView.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index 22f76fdf75..f100721406 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -300,8 +300,10 @@ MGL_EXPORT IB_DESIGNABLE
The object that this map view uses to start and stop the delivery of location-related
events.
- If no custom manager is provided or setting this property to `nil` it will default
+ If no custom manager is provided or setting this property to `nil` will default
to the internal `CLLocationManager` based implementation.
+
+ Set the custom location manager before calling `showUserLocation`.
*/
@property (nonatomic, nullable) id<MGLLocationManager> locationManager;