From 984a5ccd5b4b060611c64f58d91506c3e2b5022a Mon Sep 17 00:00:00 2001 From: Jesse Crocker Date: Fri, 25 Jan 2019 13:00:16 -0700 Subject: [PATCH] [ios] Fix typo in MGLComputedShapeSource error message --- platform/darwin/src/MGLComputedShapeSource.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/darwin/src/MGLComputedShapeSource.mm b/platform/darwin/src/MGLComputedShapeSource.mm index 049313192..5110435b0 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; }