diff options
author | Jason Wray <jason@kulturny.com> | 2015-10-23 15:33:49 -0400 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-11-18 15:59:48 -0800 |
commit | 3aa523c7b1ece998f93c27e6d8ea3f3a92a9a072 (patch) | |
tree | d2bb8c073dfeb96b219e79dc4c7d1b1c6c8f704c /include | |
parent | c4694df37520a6e2e8c6e419198637fd30254d73 (diff) | |
download | qtlocation-mapboxgl-3aa523c7b1ece998f93c27e6d8ea3f3a92a9a072.tar.gz |
[ios] document willStart/didFinish map loading delegate methods
Fixes #2706
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/ios/MGLMapView.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h index c715725bd3..93532b6a31 100644 --- a/include/mbgl/ios/MGLMapView.h +++ b/include/mbgl/ios/MGLMapView.h @@ -414,14 +414,20 @@ IB_DESIGNABLE * @param animated Whether the change caused an animated effect on the map. */ - (void)mapView:(MGLMapView *)mapView regionDidChangeAnimated:(BOOL)animated; -#pragma mark - Loading the Map Data +#pragma mark - Loading the Map -/** @name Loading the Map Data */ +/** @name Loading the Map */ -// TODO +/** Tells the delegate that the map view will begin to load. + * + * This method is called whenever the map view starts loading, including when a new style has been set and the map must reload. + * @param mapView The map view that is starting to load. */ - (void)mapViewWillStartLoadingMap:(MGLMapView *)mapView; -// TODO +/** Tells the delegate that the map view has finished loading. + * + * This method is called whenever the map view finishes loading, either after the initial load or after a style change has forced a reload. + * @param mapView The map view that has finished loading. */ - (void)mapViewDidFinishLoadingMap:(MGLMapView *)mapView; // TODO |