summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Crocker <Jesse@datamongers.net>2019-01-25 13:00:16 -0700
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2019-01-29 10:32:15 -0800
commitd0fa6f0452d2dc3e8e11dbfe3b0c516a54f640a5 (patch)
tree8856aa706be32820ba5176285a41f22f6a96fec7
parentea5852954d6aae4b4e52f3338af31b6a70ffd072 (diff)
downloadqtlocation-mapboxgl-d0fa6f0452d2dc3e8e11dbfe3b0c516a54f640a5.tar.gz
[ios] Fix typo in MGLComputedShapeSource error message
-rw-r--r--platform/darwin/src/MGLComputedShapeSource.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLComputedShapeSource.mm b/platform/darwin/src/MGLComputedShapeSource.mm
index 0493131922..5110435b03 100644
--- a/platform/darwin/src/MGLComputedShapeSource.mm
+++ b/platform/darwin/src/MGLComputedShapeSource.mm
@@ -22,7 +22,7 @@ mbgl::style::CustomGeometrySource::Options MBGLCustomGeometrySourceOptionsFromDi
if (NSNumber *value = options[MGLShapeSourceOptionMinimumZoomLevel]) {
if (![value isKindOfClass:[NSNumber class]]) {
[NSException raise:NSInvalidArgumentException
- format:@"MGLShapeSourceOptionMaximumZoomLevelForClustering must be an NSNumber."];
+ format:@"MGLShapeSourceOptionMinimumZoomLevel must be an NSNumber."];
}
sourceOptions.zoomRange.min = value.integerValue;
}