From bc6054152ca4d78568738ecd92f63d8d88d271fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Mon, 21 Dec 2015 00:41:52 -0800 Subject: [PATCH] [ios] Removed appledoc workaround --- .../mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h | 3 --- include/mbgl/ios/MGLMapView.h | 9 +++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h b/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h index e24f7ebab..de4dc01f9 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 6d6031261..8ded5bf7f 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;