summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-12-02 16:05:41 -0800
committerMinh Nguyễn <mxn@1ec5.org>2015-12-13 17:26:53 -0800
commitea57be5598826a14991e2ac17a826186c2d9ce0b (patch)
tree627befa3bfd79915eeac17d75153a4fa2de49ac4 /gyp
parent73324ae2f886ac32fc673c996b00faf0383d93c0 (diff)
downloadqtlocation-mapboxgl-ea57be5598826a14991e2ac17a826186c2d9ce0b.tar.gz
[osx] Documentation comments for public classes
Added documentation comments for all the public headers that aren’t being shared with iOS. Removed an animated: parameter from -selectAnnotation: and -deselectAnnotation:: because callout popovers may extend beyond the entire window, there is no need to scroll the map to make the entire callout visible. Added missing geometric conversion methods. Renamed -mapView:regionWillChangeAnimated: et al. to say “camera” instead of “region”. “Region” leaves ambiguity about whether properties like rotation and pitch trigger this method. “Camera” associates these methods with the camera property, which seems apt.
Diffstat (limited to 'gyp')
-rw-r--r--gyp/platform-ios.gypi2
-rw-r--r--gyp/platform-osx.gypi2
2 files changed, 2 insertions, 2 deletions
diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi
index 070dd55c31..d7e85a9516 100644
--- a/gyp/platform-ios.gypi
+++ b/gyp/platform-ios.gypi
@@ -29,7 +29,7 @@
'../platform/darwin/MGLStyle.mm',
'../include/mbgl/darwin/MGLGeometry.h',
'../platform/darwin/MGLGeometry_Private.h',
- '../platform/darwin/MGLGeometry.m',
+ '../platform/darwin/MGLGeometry.mm',
'../include/mbgl/darwin/MGLAnnotation.h',
'../include/mbgl/darwin/MGLShape.h',
'../platform/darwin/MGLShape.m',
diff --git a/gyp/platform-osx.gypi b/gyp/platform-osx.gypi
index 964046b4fe..812c505787 100644
--- a/gyp/platform-osx.gypi
+++ b/gyp/platform-osx.gypi
@@ -29,7 +29,7 @@
'../platform/darwin/MGLStyle.mm',
'../include/mbgl/darwin/MGLGeometry.h',
'../platform/darwin/MGLGeometry_Private.h',
- '../platform/darwin/MGLGeometry.m',
+ '../platform/darwin/MGLGeometry.mm',
'../include/mbgl/darwin/MGLAnnotation.h',
'../include/mbgl/darwin/MGLShape.h',
'../platform/darwin/MGLShape.m',