diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-05-27 00:35:18 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-05-27 21:42:39 -0700 |
commit | b94a125ff28db2d4bfd181928ce8eee523a30ec7 (patch) | |
tree | 82a2ef12f67803f7026b5592b1a6acf36bcb64a2 /platform/darwin/src/MGLShapeCollection.h | |
parent | 974e6696986d49e2eb130e24bde9e75402b0f386 (diff) | |
download | qtlocation-mapboxgl-b94a125ff28db2d4bfd181928ce8eee523a30ec7.tar.gz |
[osx] Relegated “selection” to context menu
Moved feature selection to the context menu and restored the press gesture for dropping a pin. Bust complex features into simple shapes to feed into MGLMapView as overlays.
Diffstat (limited to 'platform/darwin/src/MGLShapeCollection.h')
-rw-r--r-- | platform/darwin/src/MGLShapeCollection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLShapeCollection.h b/platform/darwin/src/MGLShapeCollection.h index 6a21d6fb90..a617223ea7 100644 --- a/platform/darwin/src/MGLShapeCollection.h +++ b/platform/darwin/src/MGLShapeCollection.h @@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN /** An array of shapes forming the shape collection. */ -@property (nonatomic, copy, readonly) NS_ARRAY_OF(MGLShape <MGLAnnotation> *) *shapes; +@property (nonatomic, copy, readonly) NS_ARRAY_OF(MGLShape *) *shapes; /** Creates and returns a shape collection consisting of the given shapes. @@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN this array is copied to the new object. @return A new shape collection object. */ -+ (instancetype)shapeCollectionWithShapes:(NS_ARRAY_OF(MGLShape <MGLAnnotation> *) *)shapes; ++ (instancetype)shapeCollectionWithShapes:(NS_ARRAY_OF(MGLShape *) *)shapes; @end |