diff options
author | Jason Wray <jason@mapbox.com> | 2017-02-08 18:00:23 -0500 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2017-02-08 21:11:43 -0800 |
commit | 0e803186272f9febc84ea9c9e0fdc1b44d637d03 (patch) | |
tree | 26fb8dd14416319b3c5cde11c465d23aad6ead42 /platform/darwin | |
parent | a383edaae8ec05a3b385b19576c7a9358672662b (diff) | |
download | qtlocation-mapboxgl-0e803186272f9febc84ea9c9e0fdc1b44d637d03.tar.gz |
[ios, macos] Add more bullets to style property docs
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/scripts/generate-style-code.js | 21 | ||||
-rw-r--r-- | platform/darwin/src/MGLBackgroundStyleLayer.h | 23 | ||||
-rw-r--r-- | platform/darwin/src/MGLCircleStyleLayer.h | 228 | ||||
-rw-r--r-- | platform/darwin/src/MGLFillStyleLayer.h | 136 | ||||
-rw-r--r-- | platform/darwin/src/MGLLineStyleLayer.h | 199 | ||||
-rw-r--r-- | platform/darwin/src/MGLRasterStyleLayer.h | 49 | ||||
-rw-r--r-- | platform/darwin/src/MGLSymbolStyleLayer.h | 422 |
7 files changed, 616 insertions, 462 deletions
diff --git a/platform/darwin/scripts/generate-style-code.js b/platform/darwin/scripts/generate-style-code.js index efa7fe2d3c..22d1486dd6 100644 --- a/platform/darwin/scripts/generate-style-code.js +++ b/platform/darwin/scripts/generate-style-code.js @@ -281,15 +281,26 @@ global.propertyDoc = function (propertyName, property, layerType, kind) { doc += `\n\nThis attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#${anchor}"><code>${property.original}</code></a> layout property in the Mapbox Style Specification.`; } } - doc += '`\n\nThis property can be set to one of the following values:\n\n' + + doc += '\n\nThis property can be set to one of the following values:\n\n' + '- `MGLStyleConstantValue`\n'; if (property["property-function"]) { - doc += '- `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`\n' + - '- `MGLSourceStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity`\n' + - '- `MGLCompositeStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or `MGLInterpolationModeCategorical`\n'; + doc += '- `MGLCameraStyleFunction` with an interpolation mode of:\n' + + ' - `MGLInterpolationModeExponential`\n' + + ' - `MGLInterpolationModeInterval`\n' + + '- `MGLSourceStyleFunction` with an interpolation mode of:\n' + + ' - `MGLInterpolationModeExponential`\n' + + ' - `MGLInterpolationModeInterval`\n' + + ' - `MGLInterpolationModeCategorical`\n' + + ' - `MGLInterpolationModeIdentity`\n' + + '- `MGLCompositeStyleFunction` with an interpolation mode of:\n' + + ' - `MGLInterpolationModeExponential`\n' + + ' - `MGLInterpolationModeInterval`\n' + + ' - `MGLInterpolationModeCategorical`\n'; } else { if (property.function === "interpolated") { - doc += '- `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`\n'; + doc += '- `MGLCameraStyleFunction` with an interpolation mode of:\n' + + ' - `MGLInterpolationModeExponential`\n' + + ' - `MGLInterpolationModeInterval`\n'; } else { doc += '- `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval`\n'; } diff --git a/platform/darwin/src/MGLBackgroundStyleLayer.h b/platform/darwin/src/MGLBackgroundStyleLayer.h index 213f52968b..35dcb94b51 100644 --- a/platform/darwin/src/MGLBackgroundStyleLayer.h +++ b/platform/darwin/src/MGLBackgroundStyleLayer.h @@ -37,13 +37,14 @@ MGL_EXPORT value. This property is only applied to the style if `backgroundPattern` is set to - `nil`. Otherwise, it is ignored.` + `nil`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *backgroundColor; #else @@ -55,13 +56,14 @@ MGL_EXPORT value. This property is only applied to the style if `backgroundPattern` is set to - `nil`. Otherwise, it is ignored.` + `nil`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *backgroundColor; #endif @@ -71,20 +73,21 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *backgroundOpacity; /** Name of image in style images to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, - ..., 512).` + ..., 512). This property can be set to one of the following values: diff --git a/platform/darwin/src/MGLCircleStyleLayer.h b/platform/darwin/src/MGLCircleStyleLayer.h index f6cb05e110..c59f1e0e2d 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -8,7 +8,7 @@ NS_ASSUME_NONNULL_BEGIN /** - Controls the scaling behavior of the circle when the map is pitched.` + Controls the scaling behavior of the circle when the map is pitched. This property can be set to one of the following values: @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN */ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) { /** - Circles are scaled according to their apparent distance to the camera.` + Circles are scaled according to their apparent distance to the camera. This property can be set to one of the following values: @@ -31,7 +31,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) { */ MGLCircleScaleAlignmentMap, /** - Circles are not scaled.` + Circles are not scaled. This property can be set to one of the following values: @@ -43,7 +43,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) { }; /** - Controls the translation reference point.` + Controls the translation reference point. This property can be set to one of the following values: @@ -56,7 +56,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) { */ typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) { /** - The circle is translated relative to the map.` + The circle is translated relative to the map. This property can be set to one of the following values: @@ -66,7 +66,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) { */ MGLCircleTranslationAnchorMap, /** - The circle is translated relative to the viewport.` + The circle is translated relative to the viewport. This property can be set to one of the following values: @@ -123,19 +123,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleBlur; @@ -145,19 +149,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `UIColor.blackColor`. Set this property to `nil` to reset it to the default - value.` + value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *circleColor; #else @@ -166,19 +174,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `NSColor.blackColor`. Set this property to `nil` to reset it to the default - value.` + value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *circleColor; #endif @@ -188,19 +200,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleOpacity; @@ -211,19 +227,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `5`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleRadius; @@ -236,7 +256,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-pitch-scale"><code>circle-pitch-scale</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -254,19 +274,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `UIColor.blackColor`. Set this property to `nil` to reset it to the default - value.` + value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *circleStrokeColor; #else @@ -275,19 +299,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `NSColor.blackColor`. Set this property to `nil` to reset it to the default - value.` + value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *circleStrokeColor; #endif @@ -297,19 +325,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleStrokeOpacity; @@ -321,19 +353,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleStrokeWidth; @@ -349,13 +385,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate"><code>circle-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *circleTranslation; #else @@ -370,13 +407,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate"><code>circle-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *circleTranslation; #endif @@ -395,7 +433,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate-anchor"><code>circle-translate-anchor</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h index 58bf3d9b6a..92d922c096 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -8,7 +8,7 @@ NS_ASSUME_NONNULL_BEGIN /** - Controls the translation reference point.` + Controls the translation reference point. This property can be set to one of the following values: @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN */ typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) { /** - The fill is translated relative to the map.` + The fill is translated relative to the map. This property can be set to one of the following values: @@ -31,7 +31,7 @@ typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) { */ MGLFillTranslationAnchorMap, /** - The fill is translated relative to the viewport.` + The fill is translated relative to the viewport. This property can be set to one of the following values: @@ -81,7 +81,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-antialias"><code>fill-antialias</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -102,19 +102,23 @@ MGL_EXPORT value. This property is only applied to the style if `fillPattern` is set to `nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *fillColor; #else @@ -126,19 +130,23 @@ MGL_EXPORT value. This property is only applied to the style if `fillPattern` is set to `nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *fillColor; #endif @@ -149,19 +157,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *fillOpacity; @@ -171,19 +183,23 @@ MGL_EXPORT This property is only applied to the style if `fillPattern` is set to `nil`, and `fillAntialiased` is set to an `MGLStyleValue` object containing an - `NSNumber` object containing `YES`. Otherwise, it is ignored.` + `NSNumber` object containing `YES`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *fillOutlineColor; #else @@ -192,26 +208,30 @@ MGL_EXPORT This property is only applied to the style if `fillPattern` is set to `nil`, and `fillAntialiased` is set to an `MGLStyleValue` object containing an - `NSNumber` object containing `YES`. Otherwise, it is ignored.` + `NSNumber` object containing `YES`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *fillOutlineColor; #endif /** Name of image in sprite to use for drawing image fills. For seamless patterns, - image width and height must be a factor of two (2, 4, 8, ..., 512).` + image width and height must be a factor of two (2, 4, 8, ..., 512). This property can be set to one of the following values: @@ -233,13 +253,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate"><code>fill-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *fillTranslation; #else @@ -254,13 +275,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate"><code>fill-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *fillTranslation; #endif @@ -279,7 +301,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate-anchor"><code>fill-translate-anchor</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: diff --git a/platform/darwin/src/MGLLineStyleLayer.h b/platform/darwin/src/MGLLineStyleLayer.h index 436f0ee0d0..e1b621a215 100644 --- a/platform/darwin/src/MGLLineStyleLayer.h +++ b/platform/darwin/src/MGLLineStyleLayer.h @@ -8,7 +8,7 @@ NS_ASSUME_NONNULL_BEGIN /** - The display of line endings.` + The display of line endings. This property can be set to one of the following values: @@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, MGLLineCap) { /** A cap with a squared-off end which is drawn to the exact endpoint of the - line.` + line. This property can be set to one of the following values: @@ -34,7 +34,7 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) { /** A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of - the line.` + the line. This property can be set to one of the following values: @@ -45,7 +45,7 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) { MGLLineCapRound, /** A cap with a squared-off end which is drawn beyond the endpoint of the line - at a distance of one-half of the line's width.` + at a distance of one-half of the line's width. This property can be set to one of the following values: @@ -57,7 +57,7 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) { }; /** - The display of lines when joining.` + The display of lines when joining. This property can be set to one of the following values: @@ -71,7 +71,7 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) { typedef NS_ENUM(NSUInteger, MGLLineJoin) { /** A join with a squared-off end which is drawn beyond the endpoint of the - line at a distance of one-half of the line's width.` + line at a distance of one-half of the line's width. This property can be set to one of the following values: @@ -83,7 +83,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) { /** A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of - the line.` + the line. This property can be set to one of the following values: @@ -94,7 +94,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) { MGLLineJoinRound, /** A join with a sharp, angled corner which is drawn with the outer sides - beyond the endpoint of the path until they meet.` + beyond the endpoint of the path until they meet. This property can be set to one of the following values: @@ -106,7 +106,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) { }; /** - Controls the translation reference point.` + Controls the translation reference point. This property can be set to one of the following values: @@ -119,7 +119,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) { */ typedef NS_ENUM(NSUInteger, MGLLineTranslationAnchor) { /** - The line is translated relative to the map.` + The line is translated relative to the map. This property can be set to one of the following values: @@ -129,7 +129,7 @@ typedef NS_ENUM(NSUInteger, MGLLineTranslationAnchor) { */ MGLLineTranslationAnchorMap, /** - The line is translated relative to the viewport.` + The line is translated relative to the viewport. This property can be set to one of the following values: @@ -180,7 +180,7 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSValue` object containing `MGLLineCapButt`. Set this property to `nil` to - reset it to the default value.` + reset it to the default value. This property can be set to one of the following values: @@ -195,7 +195,7 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSValue` object containing `MGLLineJoinMiter`. Set this property to `nil` to - reset it to the default value.` + reset it to the default value. This property can be set to one of the following values: @@ -214,13 +214,14 @@ MGL_EXPORT This property is only applied to the style if `lineJoin` is set to an `MGLStyleValue` object containing an `NSValue` object containing - `MGLLineJoinMiter`. Otherwise, it is ignored.` + `MGLLineJoinMiter`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineMiterLimit; @@ -233,13 +234,14 @@ MGL_EXPORT This property is only applied to the style if `lineJoin` is set to an `MGLStyleValue` object containing an `NSValue` object containing - `MGLLineJoinRound`. Otherwise, it is ignored.` + `MGLLineJoinRound`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineRoundLimit; @@ -252,19 +254,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineBlur; @@ -277,19 +283,23 @@ MGL_EXPORT value. This property is only applied to the style if `linePattern` is set to `nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *lineColor; #else @@ -301,19 +311,23 @@ MGL_EXPORT value. This property is only applied to the style if `linePattern` is set to `nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *lineColor; #endif @@ -330,7 +344,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-dasharray"><code>line-dasharray</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -350,19 +364,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineGapWidth; @@ -376,19 +394,23 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineOffset; @@ -397,25 +419,29 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineOpacity; /** Name of image in style images to use for drawing image lines. For seamless - patterns, image width must be a factor of two (2, 4, 8, ..., 512).` + patterns, image width must be a factor of two (2, 4, 8, ..., 512). This property can be set to one of the following values: @@ -437,13 +463,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate"><code>line-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineTranslation; #else @@ -458,13 +485,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate"><code>line-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineTranslation; #endif @@ -483,7 +511,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate-anchor"><code>line-translate-anchor</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -502,13 +530,14 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineWidth; diff --git a/platform/darwin/src/MGLRasterStyleLayer.h b/platform/darwin/src/MGLRasterStyleLayer.h index d62c55ef7b..a0e19f2226 100644 --- a/platform/darwin/src/MGLRasterStyleLayer.h +++ b/platform/darwin/src/MGLRasterStyleLayer.h @@ -48,13 +48,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-brightness-max"><code>raster-brightness-max</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumRasterBrightness; @@ -70,13 +71,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-brightness-min"><code>raster-brightness-min</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *minimumRasterBrightness; @@ -87,13 +89,14 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterContrast; @@ -104,13 +107,14 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `300`. Set this property to `nil` to - reset it to the default value.` + reset it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterFadeDuration; @@ -125,13 +129,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-hue-rotate"><code>raster-hue-rotate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterHueRotation; @@ -142,13 +147,14 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterOpacity; @@ -157,13 +163,14 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterSaturation; diff --git a/platform/darwin/src/MGLSymbolStyleLayer.h b/platform/darwin/src/MGLSymbolStyleLayer.h index 245a9b361d..0ba8994d8c 100644 --- a/platform/darwin/src/MGLSymbolStyleLayer.h +++ b/platform/darwin/src/MGLSymbolStyleLayer.h @@ -9,7 +9,7 @@ NS_ASSUME_NONNULL_BEGIN /** In combination with `symbolPlacement`, determines the rotation behavior of - icons.` + icons. This property can be set to one of the following values: @@ -24,7 +24,7 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { /** When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, aligns icons east-west. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, - aligns icon x-axes with the line.` + aligns icon x-axes with the line. This property can be set to one of the following values: @@ -35,7 +35,7 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { MGLIconRotationAlignmentMap, /** Produces icons whose x-axes are aligned with the x-axis of the viewport, - regardless of the value of `symbolPlacement`.` + regardless of the value of `symbolPlacement`. This property can be set to one of the following values: @@ -48,7 +48,7 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, this is equivalent to `MGLIconRotationAlignmentViewport`. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, this is equivalent to - `MGLIconRotationAlignmentMap`.` + `MGLIconRotationAlignmentMap`. This property can be set to one of the following values: @@ -60,7 +60,7 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { }; /** - Scales the icon to fit around the associated text.` + Scales the icon to fit around the associated text. This property can be set to one of the following values: @@ -73,7 +73,7 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { */ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { /** - The icon is displayed at its intrinsic aspect ratio.` + The icon is displayed at its intrinsic aspect ratio. This property can be set to one of the following values: @@ -83,7 +83,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { */ MGLIconTextFitNone, /** - The icon is scaled in the x-dimension to fit the width of the text.` + The icon is scaled in the x-dimension to fit the width of the text. This property can be set to one of the following values: @@ -93,7 +93,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { */ MGLIconTextFitWidth, /** - The icon is scaled in the y-dimension to fit the height of the text.` + The icon is scaled in the y-dimension to fit the height of the text. This property can be set to one of the following values: @@ -103,7 +103,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { */ MGLIconTextFitHeight, /** - The icon is scaled in both x- and y-dimensions.` + The icon is scaled in both x- and y-dimensions. This property can be set to one of the following values: @@ -115,7 +115,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { }; /** - Label placement relative to its geometry.` + Label placement relative to its geometry. This property can be set to one of the following values: @@ -128,7 +128,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { */ typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) { /** - The label is placed at the point where the geometry is located.` + The label is placed at the point where the geometry is located. This property can be set to one of the following values: @@ -139,7 +139,7 @@ typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) { MGLSymbolPlacementPoint, /** The label is placed along the line of the geometry. Can only be used on - `LineString` and `Polygon` geometries.` + `LineString` and `Polygon` geometries. This property can be set to one of the following values: @@ -151,7 +151,7 @@ typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) { }; /** - Part of the text placed closest to the anchor.` + Part of the text placed closest to the anchor. This property can be set to one of the following values: @@ -164,7 +164,7 @@ typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) { */ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { /** - The center of the text is placed closest to the anchor.` + The center of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -174,7 +174,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorCenter, /** - The left side of the text is placed closest to the anchor.` + The left side of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -184,7 +184,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorLeft, /** - The right side of the text is placed closest to the anchor.` + The right side of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -194,7 +194,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorRight, /** - The top of the text is placed closest to the anchor.` + The top of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -204,7 +204,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorTop, /** - The bottom of the text is placed closest to the anchor.` + The bottom of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -214,7 +214,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorBottom, /** - The top left corner of the text is placed closest to the anchor.` + The top left corner of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -224,7 +224,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorTopLeft, /** - The top right corner of the text is placed closest to the anchor.` + The top right corner of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -234,7 +234,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorTopRight, /** - The bottom left corner of the text is placed closest to the anchor.` + The bottom left corner of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -244,7 +244,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ MGLTextAnchorBottomLeft, /** - The bottom right corner of the text is placed closest to the anchor.` + The bottom right corner of the text is placed closest to the anchor. This property can be set to one of the following values: @@ -256,7 +256,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { }; /** - Text justification options.` + Text justification options. This property can be set to one of the following values: @@ -269,7 +269,7 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { */ typedef NS_ENUM(NSUInteger, MGLTextJustification) { /** - The text is aligned to the left.` + The text is aligned to the left. This property can be set to one of the following values: @@ -279,7 +279,7 @@ typedef NS_ENUM(NSUInteger, MGLTextJustification) { */ MGLTextJustificationLeft, /** - The text is centered.` + The text is centered. This property can be set to one of the following values: @@ -289,7 +289,7 @@ typedef NS_ENUM(NSUInteger, MGLTextJustification) { */ MGLTextJustificationCenter, /** - The text is aligned to the right.` + The text is aligned to the right. This property can be set to one of the following values: @@ -301,7 +301,7 @@ typedef NS_ENUM(NSUInteger, MGLTextJustification) { }; /** - Orientation of text when map is pitched.` + Orientation of text when map is pitched. This property can be set to one of the following values: @@ -314,7 +314,7 @@ typedef NS_ENUM(NSUInteger, MGLTextJustification) { */ typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) { /** - The text is aligned to the plane of the map.` + The text is aligned to the plane of the map. This property can be set to one of the following values: @@ -324,7 +324,7 @@ typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) { */ MGLTextPitchAlignmentMap, /** - The text is aligned to the plane of the viewport.` + The text is aligned to the plane of the viewport. This property can be set to one of the following values: @@ -334,7 +334,7 @@ typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) { */ MGLTextPitchAlignmentViewport, /** - Automatically matches the value of `textRotationAlignment`.` + Automatically matches the value of `textRotationAlignment`. This property can be set to one of the following values: @@ -347,7 +347,7 @@ typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) { /** In combination with `symbolPlacement`, determines the rotation behavior of the - individual glyphs forming the text.` + individual glyphs forming the text. This property can be set to one of the following values: @@ -362,7 +362,7 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { /** When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, aligns text east-west. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, - aligns text x-axes with the line.` + aligns text x-axes with the line. This property can be set to one of the following values: @@ -373,7 +373,7 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { MGLTextRotationAlignmentMap, /** Produces glyphs whose x-axes are aligned with the x-axis of the viewport, - regardless of the value of `symbolPlacement`.` + regardless of the value of `symbolPlacement`. This property can be set to one of the following values: @@ -386,7 +386,7 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, this is equivalent to `MGLTextRotationAlignmentViewport`. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, this is equivalent to - `MGLTextRotationAlignmentMap`.` + `MGLTextRotationAlignmentMap`. This property can be set to one of the following values: @@ -398,7 +398,7 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { }; /** - Specifies how to capitalize text.` + Specifies how to capitalize text. This property can be set to one of the following values: @@ -411,7 +411,7 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { */ typedef NS_ENUM(NSUInteger, MGLTextTransform) { /** - The text is not altered.` + The text is not altered. This property can be set to one of the following values: @@ -421,7 +421,7 @@ typedef NS_ENUM(NSUInteger, MGLTextTransform) { */ MGLTextTransformNone, /** - Forces all letters to be displayed in uppercase.` + Forces all letters to be displayed in uppercase. This property can be set to one of the following values: @@ -431,7 +431,7 @@ typedef NS_ENUM(NSUInteger, MGLTextTransform) { */ MGLTextTransformUppercase, /** - Forces all letters to be displayed in lowercase.` + Forces all letters to be displayed in lowercase. This property can be set to one of the following values: @@ -443,7 +443,7 @@ typedef NS_ENUM(NSUInteger, MGLTextTransform) { }; /** - Controls the translation reference point.` + Controls the translation reference point. This property can be set to one of the following values: @@ -456,7 +456,7 @@ typedef NS_ENUM(NSUInteger, MGLTextTransform) { */ typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) { /** - Icons are translated relative to the map.` + Icons are translated relative to the map. This property can be set to one of the following values: @@ -466,7 +466,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) { */ MGLIconTranslationAnchorMap, /** - Icons are translated relative to the viewport.` + Icons are translated relative to the viewport. This property can be set to one of the following values: @@ -478,7 +478,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) { }; /** - Controls the translation reference point.` + Controls the translation reference point. This property can be set to one of the following values: @@ -491,7 +491,7 @@ typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) { */ typedef NS_ENUM(NSUInteger, MGLTextTranslationAnchor) { /** - The text is translated relative to the map.` + The text is translated relative to the map. This property can be set to one of the following values: @@ -501,7 +501,7 @@ typedef NS_ENUM(NSUInteger, MGLTextTranslationAnchor) { */ MGLTextTranslationAnchorMap, /** - The text is translated relative to the viewport.` + The text is translated relative to the viewport. This property can be set to one of the following values: @@ -559,7 +559,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-allow-overlap"><code>icon-allow-overlap</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -584,7 +584,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-ignore-placement"><code>icon-ignore-placement</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -602,7 +602,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-image"><code>icon-image</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -624,19 +624,23 @@ MGL_EXPORT downward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconOffset; #else @@ -648,19 +652,23 @@ MGL_EXPORT upward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconOffset; #endif @@ -674,7 +682,7 @@ MGL_EXPORT the default value. This property is only applied to the style if `iconImageName` is non-`nil`, and - `text` is non-`nil`. Otherwise, it is ignored.` + `text` is non-`nil`. Otherwise, it is ignored. This property can be set to one of the following values: @@ -695,13 +703,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconPadding; @@ -719,19 +728,23 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-rotate"><code>icon-rotate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, - `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or - `MGLInterpolationModeCategorical` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` + - `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` + - `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconRotation; @@ -747,7 +760,7 @@ MGL_EXPORT to `nil` to reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: @@ -769,13 +782,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-size"><code>icon-size</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconScale; @@ -790,7 +804,7 @@ MGL_EXPORT reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`, and - `text` is non-`nil`. Otherwise, it is ignored.` + `text` is non-`nil`. Otherwise, it is ignored. This property can be set to one of the following values: @@ -813,13 +827,14 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`, and `text` is non-`nil`, and `iconTextFit` is set to an `MGLStyleValue` object containing an `NSValue` object containing `MGLIconTextFitBoth`, - `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.` + `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFitPadding; #else @@ -835,13 +850,14 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`, and `text` is non-`nil`, and `iconTextFit` is set to an `MGLStyleValue` object containing an `NSValue` object containing `MGLIconTextFitBoth`, - `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.` + `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFitPadding; #endif @@ -861,7 +877,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-keep-upright"><code>icon-keep-upright</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -890,7 +906,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-keep-upright"><code>text-keep-upright</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -918,13 +934,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-angle"><code>text-max-angle</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumTextAngle; @@ -945,13 +962,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-width"><code>text-max-width</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumTextWidth; @@ -970,7 +988,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-symbol-avoid-edges"><code>symbol-avoid-edges</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -988,7 +1006,7 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSValue` object containing `MGLSymbolPlacementPoint`. Set this property to - `nil` to reset it to the default value.` + `nil` to reset it to the default value. This property can be set to one of the following values: @@ -1009,13 +1027,14 @@ MGL_EXPORT This property is only applied to the style if `symbolPlacement` is set to an `MGLStyleValue` object containing an `NSValue` object containing - `MGLSymbolPlacementLine`. Otherwise, it is ignored.` + `MGLSymbolPlacementLine`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *symbolSpacing; @@ -1028,7 +1047,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-field"><code>text-field</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -1054,7 +1073,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-allow-overlap"><code>text-allow-overlap</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -1075,7 +1094,7 @@ MGL_EXPORT to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: @@ -1107,7 +1126,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-font"><code>text-font</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -1134,13 +1153,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-size"><code>text-size</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textFontSize; @@ -1159,7 +1179,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-ignore-placement"><code>text-ignore-placement</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -1184,7 +1204,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-justify"><code>text-justify</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -1207,13 +1227,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textLetterSpacing; @@ -1227,13 +1248,14 @@ MGL_EXPORT reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textLineHeight; @@ -1248,13 +1270,14 @@ MGL_EXPORT ems downward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textOffset; #else @@ -1268,13 +1291,14 @@ MGL_EXPORT ems upward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textOffset; #endif @@ -1288,7 +1312,7 @@ MGL_EXPORT the default value. This property is only applied to the style if `text` is non-`nil`, and - `iconImageName` is non-`nil`. Otherwise, it is ignored.` + `iconImageName` is non-`nil`. Otherwise, it is ignored. This property can be set to one of the following values: @@ -1309,13 +1333,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textPadding; @@ -1327,7 +1352,7 @@ MGL_EXPORT `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: @@ -1351,13 +1376,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-rotate"><code>text-rotate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textRotation; @@ -1373,7 +1399,7 @@ MGL_EXPORT to `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: @@ -1391,7 +1417,7 @@ MGL_EXPORT to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: @@ -1413,13 +1439,14 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *iconColor; #else @@ -1432,13 +1459,14 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *iconColor; #endif @@ -1453,13 +1481,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconHaloBlur; @@ -1473,13 +1502,14 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *iconHaloColor; #else @@ -1492,13 +1522,14 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *iconHaloColor; #endif @@ -1513,13 +1544,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconHaloWidth; @@ -1531,13 +1563,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored.` + Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconOpacity; @@ -1556,13 +1589,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslation; #else @@ -1580,13 +1614,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslation; #endif @@ -1605,7 +1640,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate-anchor"><code>icon-translate-anchor</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: @@ -1626,13 +1661,14 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *textColor; #else @@ -1644,13 +1680,14 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *textColor; #endif @@ -1665,13 +1702,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textHaloBlur; @@ -1684,13 +1722,14 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *textHaloColor; #else @@ -1702,13 +1741,14 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *textHaloColor; #endif @@ -1724,13 +1764,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textHaloWidth; @@ -1742,13 +1783,14 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored.` + it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textOpacity; @@ -1767,13 +1809,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslation; #else @@ -1791,13 +1834,14 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslation; #endif @@ -1816,7 +1860,7 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate-anchor"><code>text-translate-anchor</code></a> - layout property in the Mapbox Style Specification.` + layout property in the Mapbox Style Specification. This property can be set to one of the following values: |