diff options
author | Jordan Kiley <jmkiley@users.noreply.github.com> | 2018-10-15 10:18:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 10:18:50 +0800 |
commit | e35921e504a94cbe5f8cbc35b15943f1d2e8903f (patch) | |
tree | ca56d72727a629f1c100693428d8a7131eb22d0c /platform/darwin/src/MGLComputedShapeSource.mm | |
parent | 7fb29186c87afcd9bcc3abc2458411bb28cc4380 (diff) | |
download | qtlocation-mapboxgl-e35921e504a94cbe5f8cbc35b15943f1d2e8903f.tar.gz |
[ios] Create a branch that supports iOS 8 (#13036)
* [ios] switched deployment
* [ios, macos] started to restore iOS 8 support
* [ios] Started to restore iOS 8 support
* [ios, macos] Switching storage types
* [ios] update iosapp
* [ios, macos] fixed a test, documented length is unavailable
* [ios] remove safe area from integration test
* [ios] Update Changelog, Installation guide, and README
* [ios] Addressed Fabian's feedback
Diffstat (limited to 'platform/darwin/src/MGLComputedShapeSource.mm')
-rw-r--r-- | platform/darwin/src/MGLComputedShapeSource.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLComputedShapeSource.mm b/platform/darwin/src/MGLComputedShapeSource.mm index 0493131922..858df46595 100644 --- a/platform/darwin/src/MGLComputedShapeSource.mm +++ b/platform/darwin/src/MGLComputedShapeSource.mm @@ -16,7 +16,7 @@ const MGLExceptionName MGLInvalidDatasourceException = @"MGLInvalidDatasourceExc const MGLShapeSourceOption MGLShapeSourceOptionWrapsCoordinates = @"MGLShapeSourceOptionWrapsCoordinates"; const MGLShapeSourceOption MGLShapeSourceOptionClipsCoordinates = @"MGLShapeSourceOptionClipsCoordinates"; -mbgl::style::CustomGeometrySource::Options MBGLCustomGeometrySourceOptionsFromDictionary(NSDictionary<MGLShapeSourceOption, id> *options) { +mbgl::style::CustomGeometrySource::Options MBGLCustomGeometrySourceOptionsFromDictionary(NS_DICTIONARY_OF(MGLShapeSourceOption, id) *options) { mbgl::style::CustomGeometrySource::Options sourceOptions; if (NSNumber *value = options[MGLShapeSourceOptionMinimumZoomLevel]) { @@ -159,7 +159,7 @@ mbgl::style::CustomGeometrySource::Options MBGLCustomGeometrySourceOptionsFromDi @implementation MGLComputedShapeSource -- (instancetype)initWithIdentifier:(NSString *)identifier options:(NSDictionary<MGLShapeSourceOption, id> *)options { +- (instancetype)initWithIdentifier:(NSString *)identifier options:(NS_DICTIONARY_OF(MGLShapeSourceOption, id) *)options { NSOperationQueue *requestQueue = [[NSOperationQueue alloc] init]; requestQueue.name = [NSString stringWithFormat:@"mgl.MGLComputedShapeSource.%@", identifier]; requestQueue.qualityOfService = NSQualityOfServiceUtility; |