From 44fbba8514554dd05a0d8abc3f33f21840a73033 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Tue, 29 Jan 2019 16:06:10 -0800 Subject: [darwin, docs] Improve method/property linking in jazzy --- platform/ios/src/MGLMapView.h | 4 ++-- platform/ios/src/MGLMapViewDelegate.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'platform/ios/src') diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index cad35c81d8..79460b714a 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -450,7 +450,7 @@ MGL_EXPORT IB_DESIGNABLE transition. If you don’t want to animate the change, use the `-setUserLocationVerticalAlignment:animated:` method instead. */ -@property (nonatomic, assign) MGLAnnotationVerticalAlignment userLocationVerticalAlignment __attribute__((deprecated("Use -[MGLMapViewDelegate mapViewUserLocationAnchorPoint:] instead."))); +@property (nonatomic, assign) MGLAnnotationVerticalAlignment userLocationVerticalAlignment __attribute__((deprecated("Use `-[MGLMapViewDelegate mapViewUserLocationAnchorPoint:]` instead."))); /** Sets the vertical alignment of the user location annotation within the @@ -461,7 +461,7 @@ MGL_EXPORT IB_DESIGNABLE position within the map view. If `NO`, the user location annotation instantaneously moves to its new position. */ -- (void)setUserLocationVerticalAlignment:(MGLAnnotationVerticalAlignment)alignment animated:(BOOL)animated __attribute__((deprecated("Use -[MGLMapViewDelegate mapViewUserLocationAnchorPoint:] instead."))); +- (void)setUserLocationVerticalAlignment:(MGLAnnotationVerticalAlignment)alignment animated:(BOOL)animated __attribute__((deprecated("Use `-[MGLMapViewDelegate mapViewUserLocationAnchorPoint:]` instead."))); /** Updates the position of the user location annotation view by retreiving the user's last diff --git a/platform/ios/src/MGLMapViewDelegate.h b/platform/ios/src/MGLMapViewDelegate.h index e9f864f370..30550ca6a1 100644 --- a/platform/ios/src/MGLMapViewDelegate.h +++ b/platform/ios/src/MGLMapViewDelegate.h @@ -346,7 +346,7 @@ NS_ASSUME_NONNULL_BEGIN the map view with respect to the content insets. This method will override any values set by `MGLMapView.userLocationVerticalAlignment` - or `-[MGLMapView setUserLocationVerticalAlignment:]`. + or `-[MGLMapView setUserLocationVerticalAlignment:animated:]`. @param mapView The map view that is tracking the user's location. */ -- cgit v1.2.1