From f4ba92af1f78a8819f99ba1f395785a7fe1a75e7 Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Wed, 21 Sep 2016 09:50:04 -0700 Subject: [PATCH] [ios, macos] Clarify MGLGeoJSONSource option units in API docs (#6411) --- platform/darwin/src/MGLGeoJSONSource.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/platform/darwin/src/MGLGeoJSONSource.h b/platform/darwin/src/MGLGeoJSONSource.h index 7f02185db..da772108f 100644 --- a/platform/darwin/src/MGLGeoJSONSource.h +++ b/platform/darwin/src/MGLGeoJSONSource.h @@ -15,16 +15,16 @@ extern NSString * const MGLGeoJSONClusterOption; /** An `NSNumber` object containing an integer; specifies the radius of each - cluster when clustering points, measured in 1/512ths of a - tile. The default value is 50. + cluster if clustering is enabled. A value of 512 produces a radius equal to + the width of a tile. The default value is 50. */ extern NSString * const MGLGeoJSONClusterRadiusOption; /** An `NSNumber` object containing an integer; specifies the maximum zoom level at - which to cluster points. Defaults to one zoom level less than the value of - `MGLGeoJSONMaximumZoomLevelOption`, so that at the last zoom level, the - features are not clustered. + which to cluster points if clustering is enabled. Defaults to one zoom level + less than the value of `MGLGeoJSONMaximumZoomLevelOption` so that, at the + maximum zoom level, the features are not clustered. */ extern NSString * const MGLGeoJSONClusterMaximumZoomLevelOption; @@ -36,10 +36,10 @@ extern NSString * const MGLGeoJSONClusterMaximumZoomLevelOption; extern NSString * const MGLGeoJSONMaximumZoomLevelOption; /** - An `NSNumber` object containing an integer; specifies the tile buffer size on - each side. This option is measured in 1/512ths of a tile. - A higher value reduces rendering artifacts near tile edges but may impact - performance. The default value is 128. + An `NSNumber` object containing an integer; specifies the size of the tile + buffer on each side. A value of 0 produces no buffer. A value of 512 produces a + buffer as wide as the tile itself. Larger values produce fewer rendering + artifacts near tile edges and slower performance. The default value is 128. */ extern NSString * const MGLGeoJSONBufferOption;