summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-06-16 11:06:46 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-06-16 11:06:46 -0700
commit416928f824b97f33a7acc88d556ddaace78234ea (patch)
tree838a7e122b07782486584d12b2b57cd8c7e98f53 /platform
parentdf6ab1dc00bd9e99df8134db2533978bdc84d741 (diff)
downloadqtlocation-mapboxgl-416928f824b97f33a7acc88d556ddaace78234ea.tar.gz
Defer to MGLMultiPoint for overlayBounds implementation
Fixes #1730.
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/MGLPolygon.m2
-rw-r--r--platform/ios/MGLPolyline.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/MGLPolygon.m b/platform/ios/MGLPolygon.m
index d3b5f2c2a4..770a2a4b95 100644
--- a/platform/ios/MGLPolygon.m
+++ b/platform/ios/MGLPolygon.m
@@ -4,7 +4,7 @@
@implementation MGLPolygon
-@synthesize overlayBounds;
+@dynamic overlayBounds;
+ (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords
count:(NSUInteger)count
diff --git a/platform/ios/MGLPolyline.m b/platform/ios/MGLPolyline.m
index 86d113bd16..bcd652e0d3 100644
--- a/platform/ios/MGLPolyline.m
+++ b/platform/ios/MGLPolyline.m
@@ -4,7 +4,7 @@
@implementation MGLPolyline
-@synthesize overlayBounds;
+@dynamic overlayBounds;
+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords
count:(NSUInteger)count