summaryrefslogtreecommitdiff
path: root/platform/darwin
diff options
context:
space:
mode:
authorJesse Crocker <Jesse@datamongers.net>2019-01-25 13:00:16 -0700
committerJason Wray <friedbunny@users.noreply.github.com>2019-01-25 12:00:16 -0800
commit984a5ccd5b4b060611c64f58d91506c3e2b5022a (patch)
treeac4f97da5d745a18e9432ec3dbff962bd614d023 /platform/darwin
parent67e5761e722318e96b86e4615fdd071c1805bae8 (diff)
downloadqtlocation-mapboxgl-984a5ccd5b4b060611c64f58d91506c3e2b5022a.tar.gz
[ios] Fix typo in MGLComputedShapeSource error message
Diffstat (limited to 'platform/darwin')
-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;
}