summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h3
-rw-r--r--include/mbgl/ios/MGLMapView.h9
2 files changed, 5 insertions, 7 deletions
diff --git a/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h b/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h
index e24f7ebab6..de4dc01f99 100644
--- a/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h
+++ b/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h
@@ -2,10 +2,8 @@
NS_ASSUME_NONNULL_BEGIN
-/// -
typedef void (^MGLCustomStyleLayerPreparationHandler)(void);
-/// -
typedef void (^MGLCustomStyleLayerDrawingHandler)(CGSize size,
CLLocationCoordinate2D centerCoordinate,
double zoomLevel,
@@ -13,7 +11,6 @@ typedef void (^MGLCustomStyleLayerDrawingHandler)(CGSize size,
CGFloat pitch,
CGFloat perspectiveSkew);
-/// -
typedef void (^MGLCustomStyleLayerCompletionHandler)(void);
@interface MGLMapView (MGLCustomStyleLayerAdditions)
diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h
index 6d6031261f..8ded5bf7fd 100644
--- a/include/mbgl/ios/MGLMapView.h
+++ b/include/mbgl/ios/MGLMapView.h
@@ -568,11 +568,12 @@ IB_DESIGNABLE
#pragma mark Converting Geographic Coordinates
/**
- Converts a point in the specified view’s coordinate system to a map coordinate.
+ Converts a point in the given view's coordinate system to a geographic
+ coordinate.
- @param point The point you want to convert.
- @param view The view that serves as the reference coordinate system for the `point` parameter.
- @return The map coordinate at the specified point.
+ @param point The point to convert.
+ @param view The view in whose coordinate system the point is expressed.
+ @return The geographic coordinate at the given point.
*/
- (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(nullable UIView *)view;