diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2019-10-07 11:46:23 -0700 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2019-10-07 11:46:23 -0700 |
commit | d63e0e9a7db8fd8ef819134596de9f13ef65bb59 (patch) | |
tree | 444ed4a8b505dea2406a6c51dc06e68e19ff4878 | |
parent | 80ca0a8e5f85538aca6ffcba8b85682cba91bce2 (diff) | |
download | qtlocation-mapboxgl-d63e0e9a7db8fd8ef819134596de9f13ef65bb59.tar.gz |
[ios] remove colon
-rw-r--r-- | platform/darwin/src/MGLShapeSource.h | 2 | ||||
-rw-r--r-- | platform/ios/app/MBXViewController.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLShapeSource.h b/platform/darwin/src/MGLShapeSource.h index 07683534e8..f11e45722b 100644 --- a/platform/darwin/src/MGLShapeSource.h +++ b/platform/darwin/src/MGLShapeSource.h @@ -51,7 +51,7 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionClus cluster points. The resulting value is assigned to the specified attribute key. You can use one of the following: - * An `[NSExpression expressionForConstantValue:]` containing a single function string, such as `sum:` or `max:`, which takes at least two operands. + * An `[NSExpression expressionForConstantValue:]` containing a single function string, such as `sum` or `max`, which takes at least two operands. * An `NSExpression` that takes two expression arguments: `featureAccumulated` and another valid expression. diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index cead3b4339..2b35bd697b 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -2205,7 +2205,7 @@ CLLocationCoordinate2D randomWorldCoordinate() { NSURL *url = [NSURL URLWithString:@"https://www.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson"]; - NSExpression *reduceExpression1 = [NSExpression expressionWithFormat:@"sum:"]; + NSExpression *reduceExpression1 = [NSExpression expressionForConstantValue:@"sum"]; NSExpression *mapExpression1 = [NSExpression expressionForKeyPath:@"mag"]; NSArray *expressArray1 = @[reduceExpression1, mapExpression1]; |