diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2019-04-28 17:23:23 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2019-05-07 22:04:48 -0700 |
commit | 910639168aaad8f06749c5be184ae50dbe9d566b (patch) | |
tree | 9bd1642efe2c9ed65b51a8a317602975b7c5c73f /platform/darwin/src/MGLMultiPoint_Private.h | |
parent | 84a11ba4e5a6c64edd63b81d606e2ae57862c798 (diff) | |
download | qtlocation-mapboxgl-910639168aaad8f06749c5be184ae50dbe9d566b.tar.gz |
[ios, macos] Added circle geometryupstream/1ec5-circle-2167
Added an MGLCircle class that generates a many-sided polygon under the hood.
Diffstat (limited to 'platform/darwin/src/MGLMultiPoint_Private.h')
-rw-r--r-- | platform/darwin/src/MGLMultiPoint_Private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLMultiPoint_Private.h b/platform/darwin/src/MGLMultiPoint_Private.h index a9b4b72ca5..37ab6dc4af 100644 --- a/platform/darwin/src/MGLMultiPoint_Private.h +++ b/platform/darwin/src/MGLMultiPoint_Private.h @@ -13,6 +13,7 @@ NS_ASSUME_NONNULL_BEGIN @class MGLPolygon; @class MGLPolyline; +@class MGLCircle; @protocol MGLMultiPointDelegate; @@ -36,7 +37,7 @@ NS_ASSUME_NONNULL_BEGIN - (mbgl::Color)strokeColorForShapeAnnotation:(MGLShape *)annotation; /** Returns the fill color object for the given annotation. */ -- (mbgl::Color)fillColorForPolygonAnnotation:(MGLPolygon *)annotation; +- (mbgl::Color)fillColorForShape:(MGLShape *)annotation; /** Returns the stroke width object for the given annotation. */ - (CGFloat)lineWidthForPolylineAnnotation:(MGLPolyline *)annotation; |