From a49301ad2518663669c6cc7e4719fe786634d982 Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Wed, 8 Feb 2017 16:22:53 -0800 Subject: [ios, macos] Don't add documentation to NS_ENUM --- platform/darwin/scripts/generate-style-code.js | 44 +- platform/darwin/src/MGLBackgroundStyleLayer.h | 36 +- platform/darwin/src/MGLCircleStyleLayer.h | 338 +++++------ platform/darwin/src/MGLFillStyleLayer.h | 206 +++---- platform/darwin/src/MGLLineStyleLayer.h | 326 ++++------ platform/darwin/src/MGLRasterStyleLayer.h | 70 +-- platform/darwin/src/MGLSymbolStyleLayer.h | 806 +++++++++---------------- 7 files changed, 721 insertions(+), 1105 deletions(-) (limited to 'platform') diff --git a/platform/darwin/scripts/generate-style-code.js b/platform/darwin/scripts/generate-style-code.js index 22d1486dd6..e9599b18b8 100644 --- a/platform/darwin/scripts/generate-style-code.js +++ b/platform/darwin/scripts/generate-style-code.js @@ -280,29 +280,29 @@ global.propertyDoc = function (propertyName, property, layerType, kind) { } doc += `\n\nThis attribute corresponds to the ${property.original} layout property in the Mapbox Style Specification.`; } - } - 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:\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:\n' + - ' - `MGLInterpolationModeExponential`\n' + - ' - `MGLInterpolationModeInterval`\n'; + doc += '\n\nYou can set this property to an instance of:\n\n' + + '* `MGLStyleConstantValue`\n'; + if (property["property-function"]) { + 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 { - doc += '- `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval`\n'; + if (property.function === "interpolated") { + doc += '* `MGLCameraStyleFunction` with an interpolation mode of:\n' + + ' * `MGLInterpolationModeExponential`\n' + + ' * `MGLInterpolationModeInterval`\n'; + } else { + doc += '* `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval`\n'; + } } } return doc; diff --git a/platform/darwin/src/MGLBackgroundStyleLayer.h b/platform/darwin/src/MGLBackgroundStyleLayer.h index 35dcb94b51..c6fd6113cb 100644 --- a/platform/darwin/src/MGLBackgroundStyleLayer.h +++ b/platform/darwin/src/MGLBackgroundStyleLayer.h @@ -39,12 +39,12 @@ MGL_EXPORT This property is only applied to the style if `backgroundPattern` is set to `nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *backgroundColor; #else @@ -58,12 +58,12 @@ MGL_EXPORT This property is only applied to the style if `backgroundPattern` is set to `nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *backgroundColor; #endif @@ -75,12 +75,12 @@ MGL_EXPORT `NSNumber` object containing the float `1`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *backgroundOpacity; @@ -89,10 +89,10 @@ MGL_EXPORT seamless patterns, 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: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *backgroundPattern; diff --git a/platform/darwin/src/MGLCircleStyleLayer.h b/platform/darwin/src/MGLCircleStyleLayer.h index c59f1e0e2d..b3e9ee7161 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -9,12 +9,6 @@ NS_ASSUME_NONNULL_BEGIN /** Controls the scaling behavior of the circle when the map is pitched. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLCircleStyleLayer.circleScaleAlignment` property. @@ -22,34 +16,16 @@ NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) { /** Circles are scaled according to their apparent distance to the camera. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLCircleScaleAlignmentMap, /** Circles are not scaled. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLCircleScaleAlignmentViewport, }; /** Controls the translation reference point. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLCircleStyleLayer.circleTranslationAnchor` property. @@ -57,22 +33,10 @@ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) { typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) { /** The circle is translated relative to the map. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLCircleTranslationAnchorMap, /** The circle is translated relative to the viewport. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLCircleTranslationAnchorViewport, }; @@ -125,21 +89,21 @@ MGL_EXPORT `NSNumber` object containing the float `0`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleBlur; @@ -151,21 +115,21 @@ MGL_EXPORT `UIColor.blackColor`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleColor; #else @@ -176,21 +140,21 @@ MGL_EXPORT `NSColor.blackColor`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleColor; #endif @@ -202,21 +166,21 @@ MGL_EXPORT `NSNumber` object containing the float `1`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleOpacity; @@ -229,21 +193,21 @@ MGL_EXPORT `NSNumber` object containing the float `5`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleRadius; @@ -258,10 +222,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-pitch-scale">circle-pitch-scale layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *circleScaleAlignment; @@ -276,21 +240,21 @@ MGL_EXPORT `UIColor.blackColor`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleStrokeColor; #else @@ -301,21 +265,21 @@ MGL_EXPORT `NSColor.blackColor`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleStrokeColor; #endif @@ -327,21 +291,21 @@ MGL_EXPORT `NSNumber` object containing the float `1`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleStrokeOpacity; @@ -355,21 +319,21 @@ MGL_EXPORT `NSNumber` object containing the float `0`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *circleStrokeWidth; @@ -387,12 +351,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate">circle-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *circleTranslation; #else @@ -409,12 +373,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate">circle-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *circleTranslation; #endif @@ -435,10 +399,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate-anchor">circle-translate-anchor layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *circleTranslationAnchor; diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h index 92d922c096..a5baf2308c 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -9,12 +9,6 @@ NS_ASSUME_NONNULL_BEGIN /** Controls the translation reference point. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLFillStyleLayer.fillTranslationAnchor` property. @@ -22,22 +16,10 @@ NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) { /** The fill is translated relative to the map. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLFillTranslationAnchorMap, /** The fill is translated relative to the viewport. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLFillTranslationAnchorViewport, }; @@ -83,10 +65,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-antialias">fill-antialias layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable, getter=isFillAntialiased) MGLStyleValue *fillAntialiased; @@ -104,21 +86,21 @@ MGL_EXPORT This property is only applied to the style if `fillPattern` is set to `nil`. Otherwise, it is ignored. - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `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` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *fillColor; #else @@ -132,21 +114,21 @@ MGL_EXPORT This property is only applied to the style if `fillPattern` is set to `nil`. Otherwise, it is ignored. - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `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` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *fillColor; #endif @@ -159,21 +141,21 @@ MGL_EXPORT `NSNumber` object containing the float `1`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *fillOpacity; @@ -185,21 +167,21 @@ MGL_EXPORT and `fillAntialiased` is set to an `MGLStyleValue` object containing an `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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *fillOutlineColor; #else @@ -210,21 +192,21 @@ MGL_EXPORT and `fillAntialiased` is set to an `MGLStyleValue` object containing an `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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *fillOutlineColor; #endif @@ -233,10 +215,10 @@ MGL_EXPORT 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). - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *fillPattern; @@ -255,12 +237,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate">fill-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *fillTranslation; #else @@ -277,12 +259,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate">fill-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *fillTranslation; #endif @@ -303,10 +285,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate-anchor">fill-translate-anchor layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *fillTranslationAnchor; diff --git a/platform/darwin/src/MGLLineStyleLayer.h b/platform/darwin/src/MGLLineStyleLayer.h index e1b621a215..23a1f8f131 100644 --- a/platform/darwin/src/MGLLineStyleLayer.h +++ b/platform/darwin/src/MGLLineStyleLayer.h @@ -9,12 +9,6 @@ NS_ASSUME_NONNULL_BEGIN /** The display of line endings. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLLineStyleLayer.lineCap` property. @@ -23,47 +17,23 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) { /** A cap with a squared-off end which is drawn to the exact endpoint of the line. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLLineCapButt, /** 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. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ 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. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLLineCapSquare, }; /** The display of lines when joining. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLLineStyleLayer.lineJoin` property. @@ -72,47 +42,23 @@ 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. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLLineJoinBevel, /** 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. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLLineJoinRound, /** A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLLineJoinMiter, }; /** Controls the translation reference point. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLLineStyleLayer.lineTranslationAnchor` property. @@ -120,22 +66,10 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) { typedef NS_ENUM(NSUInteger, MGLLineTranslationAnchor) { /** The line is translated relative to the map. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLLineTranslationAnchorMap, /** The line is translated relative to the viewport. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLLineTranslationAnchorViewport, }; @@ -182,10 +116,10 @@ MGL_EXPORT `NSValue` object containing `MGLLineCapButt`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineCap; @@ -197,10 +131,10 @@ MGL_EXPORT `NSValue` object containing `MGLLineJoinMiter`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineJoin; @@ -216,12 +150,12 @@ MGL_EXPORT `MGLStyleValue` object containing an `NSValue` object containing `MGLLineJoinMiter`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineMiterLimit; @@ -236,12 +170,12 @@ MGL_EXPORT `MGLStyleValue` object containing an `NSValue` object containing `MGLLineJoinRound`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineRoundLimit; @@ -256,21 +190,21 @@ MGL_EXPORT `NSNumber` object containing the float `0`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *lineBlur; @@ -285,21 +219,21 @@ MGL_EXPORT This property is only applied to the style if `linePattern` is set to `nil`. Otherwise, it is ignored. - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `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` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *lineColor; #else @@ -313,21 +247,21 @@ MGL_EXPORT This property is only applied to the style if `linePattern` is set to `nil`. Otherwise, it is ignored. - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `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` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *lineColor; #endif @@ -346,10 +280,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-dasharray">line-dasharray layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *> *lineDashPattern; @@ -366,21 +300,21 @@ MGL_EXPORT `NSNumber` object containing the float `0`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *lineGapWidth; @@ -396,21 +330,21 @@ MGL_EXPORT `NSNumber` object containing the float `0`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *lineOffset; @@ -421,21 +355,21 @@ MGL_EXPORT `NSNumber` object containing the float `1`. Set this property to `nil` to 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *lineOpacity; @@ -443,10 +377,10 @@ MGL_EXPORT 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). - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *linePattern; @@ -465,12 +399,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate">line-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineTranslation; #else @@ -487,12 +421,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate">line-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineTranslation; #endif @@ -513,10 +447,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate-anchor">line-translate-anchor layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineTranslationAnchor; @@ -532,12 +466,12 @@ MGL_EXPORT `NSNumber` object containing the float `1`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *lineWidth; diff --git a/platform/darwin/src/MGLRasterStyleLayer.h b/platform/darwin/src/MGLRasterStyleLayer.h index a0e19f2226..9e876a6e3c 100644 --- a/platform/darwin/src/MGLRasterStyleLayer.h +++ b/platform/darwin/src/MGLRasterStyleLayer.h @@ -50,12 +50,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-brightness-max">raster-brightness-max layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *maximumRasterBrightness; @@ -73,12 +73,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-brightness-min">raster-brightness-min layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *minimumRasterBrightness; @@ -91,12 +91,12 @@ MGL_EXPORT `NSNumber` object containing the float `0`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *rasterContrast; @@ -109,12 +109,12 @@ MGL_EXPORT `NSNumber` object containing the float `300`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *rasterFadeDuration; @@ -131,12 +131,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-hue-rotate">raster-hue-rotate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *rasterHueRotation; @@ -149,12 +149,12 @@ MGL_EXPORT `NSNumber` object containing the float `1`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *rasterOpacity; @@ -165,12 +165,12 @@ MGL_EXPORT `NSNumber` object containing the float `0`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *rasterSaturation; diff --git a/platform/darwin/src/MGLSymbolStyleLayer.h b/platform/darwin/src/MGLSymbolStyleLayer.h index 0ba8994d8c..9c78608309 100644 --- a/platform/darwin/src/MGLSymbolStyleLayer.h +++ b/platform/darwin/src/MGLSymbolStyleLayer.h @@ -10,12 +10,6 @@ NS_ASSUME_NONNULL_BEGIN /** In combination with `symbolPlacement`, determines the rotation behavior of icons. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.iconRotationAlignment` property. @@ -25,23 +19,11 @@ 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. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconRotationAlignmentMap, /** Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbolPlacement`. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconRotationAlignmentViewport, /** @@ -49,24 +31,12 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { equivalent to `MGLIconRotationAlignmentViewport`. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, this is equivalent to `MGLIconRotationAlignmentMap`. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconRotationAlignmentAuto, }; /** Scales the icon to fit around the associated text. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.iconTextFit` property. @@ -74,54 +44,24 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { typedef NS_ENUM(NSUInteger, MGLIconTextFit) { /** The icon is displayed at its intrinsic aspect ratio. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconTextFitNone, /** 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: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconTextFitWidth, /** 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: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconTextFitHeight, /** The icon is scaled in both x- and y-dimensions. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconTextFitBoth, }; /** Label placement relative to its geometry. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.symbolPlacement` property. @@ -129,35 +69,17 @@ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) { /** The label is placed at the point where the geometry is located. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLSymbolPlacementPoint, /** The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLSymbolPlacementLine, }; /** Part of the text placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textAnchor` property. @@ -165,104 +87,44 @@ typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) { typedef NS_ENUM(NSUInteger, MGLTextAnchor) { /** The center of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorCenter, /** The left side of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorLeft, /** The right side of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorRight, /** The top of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorTop, /** The bottom of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorBottom, /** The top left corner of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorTopLeft, /** The top right corner of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorTopRight, /** The bottom left corner of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorBottomLeft, /** The bottom right corner of the text is placed closest to the anchor. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextAnchorBottomRight, }; /** Text justification options. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textJustification` property. @@ -270,44 +132,20 @@ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { typedef NS_ENUM(NSUInteger, MGLTextJustification) { /** The text is aligned to the left. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextJustificationLeft, /** The text is centered. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextJustificationCenter, /** The text is aligned to the right. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextJustificationRight, }; /** Orientation of text when map is pitched. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textPitchAlignment` property. @@ -315,32 +153,14 @@ typedef NS_ENUM(NSUInteger, MGLTextJustification) { typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) { /** The text is aligned to the plane of the map. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextPitchAlignmentMap, /** The text is aligned to the plane of the viewport. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextPitchAlignmentViewport, /** Automatically matches the value of `textRotationAlignment`. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextPitchAlignmentAuto, }; @@ -348,12 +168,6 @@ typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) { /** In combination with `symbolPlacement`, determines the rotation behavior of the individual glyphs forming the text. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textRotationAlignment` property. @@ -363,23 +177,11 @@ 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. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextRotationAlignmentMap, /** Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbolPlacement`. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextRotationAlignmentViewport, /** @@ -387,24 +189,12 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { equivalent to `MGLTextRotationAlignmentViewport`. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, this is equivalent to `MGLTextRotationAlignmentMap`. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextRotationAlignmentAuto, }; /** Specifies how to capitalize text. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textTransform` property. @@ -412,44 +202,20 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { typedef NS_ENUM(NSUInteger, MGLTextTransform) { /** The text is not altered. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextTransformNone, /** Forces all letters to be displayed in uppercase. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextTransformUppercase, /** Forces all letters to be displayed in lowercase. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextTransformLowercase, }; /** Controls the translation reference point. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.iconTranslationAnchor` property. @@ -457,34 +223,16 @@ typedef NS_ENUM(NSUInteger, MGLTextTransform) { typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) { /** Icons are translated relative to the map. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconTranslationAnchorMap, /** Icons are translated relative to the viewport. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLIconTranslationAnchorViewport, }; /** Controls the translation reference point. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textTranslationAnchor` property. @@ -492,22 +240,10 @@ typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) { typedef NS_ENUM(NSUInteger, MGLTextTranslationAnchor) { /** The text is translated relative to the map. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextTranslationAnchorMap, /** The text is translated relative to the viewport. - - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeInterval` */ MGLTextTranslationAnchorViewport, }; @@ -561,10 +297,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-allow-overlap">icon-allow-overlap layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconAllowsOverlap; @@ -586,10 +322,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-ignore-placement">icon-ignore-placement layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconIgnoresPlacement; @@ -604,10 +340,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-image">icon-image layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconImageName; @@ -626,21 +362,21 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `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` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *iconOffset; #else @@ -654,21 +390,21 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: - - - `MGLStyleConstantValue` - - `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` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *iconOffset; #endif @@ -684,10 +420,10 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`, and `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable, getter=isIconOptional) MGLStyleValue *iconOptional; @@ -705,12 +441,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconPadding; @@ -730,21 +466,21 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-rotate">icon-rotate 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` - - `MGLInterpolationModeInterval` - - `MGLSourceStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` - - `MGLInterpolationModeIdentity` - - `MGLCompositeStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` - - `MGLInterpolationModeCategorical` + You can set this property to an instance of: + + * `MGLStyleConstantValue` + * `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 *iconRotation; @@ -762,10 +498,10 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconRotationAlignment; @@ -784,12 +520,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-size">icon-size layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconScale; @@ -806,10 +542,10 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`, and `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconTextFit; @@ -829,12 +565,12 @@ MGL_EXPORT containing an `NSValue` object containing `MGLIconTextFitBoth`, `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconTextFitPadding; #else @@ -852,12 +588,12 @@ MGL_EXPORT containing an `NSValue` object containing `MGLIconTextFitBoth`, `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconTextFitPadding; #endif @@ -879,10 +615,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-keep-upright">icon-keep-upright layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *keepsIconUpright; @@ -908,10 +644,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-keep-upright">text-keep-upright layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *keepsTextUpright; @@ -936,12 +672,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-angle">text-max-angle layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *maximumTextAngle; @@ -964,12 +700,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-width">text-max-width layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *maximumTextWidth; @@ -990,10 +726,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-symbol-avoid-edges">symbol-avoid-edges layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *symbolAvoidsEdges; @@ -1008,10 +744,10 @@ MGL_EXPORT `NSValue` object containing `MGLSymbolPlacementPoint`. Set this property to `nil` to reset it to the default value. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *symbolPlacement; @@ -1029,12 +765,12 @@ MGL_EXPORT `MGLStyleValue` object containing an `NSValue` object containing `MGLSymbolPlacementLine`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *symbolSpacing; @@ -1049,10 +785,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-field">text-field layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *text; @@ -1075,10 +811,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-allow-overlap">text-allow-overlap layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textAllowsOverlap; @@ -1096,10 +832,10 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textAnchor; @@ -1128,10 +864,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-font">text-font layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *> *textFontNames; @@ -1155,12 +891,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-size">text-size layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textFontSize; @@ -1181,10 +917,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-ignore-placement">text-ignore-placement layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textIgnoresPlacement; @@ -1206,10 +942,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-justify">text-justify layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textJustification; @@ -1229,12 +965,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textLetterSpacing; @@ -1250,12 +986,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textLineHeight; @@ -1272,12 +1008,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textOffset; #else @@ -1293,12 +1029,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textOffset; #endif @@ -1314,10 +1050,10 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`, and `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable, getter=isTextOptional) MGLStyleValue *textOptional; @@ -1335,12 +1071,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textPadding; @@ -1354,10 +1090,10 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textPitchAlignment; @@ -1378,12 +1114,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-rotate">text-rotate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textRotation; @@ -1401,10 +1137,10 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textRotationAlignment; @@ -1419,10 +1155,10 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textTransform; @@ -1441,12 +1177,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconColor; #else @@ -1461,12 +1197,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconColor; #endif @@ -1483,12 +1219,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconHaloBlur; @@ -1504,12 +1240,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconHaloColor; #else @@ -1524,12 +1260,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconHaloColor; #endif @@ -1546,12 +1282,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconHaloWidth; @@ -1565,12 +1301,12 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconOpacity; @@ -1591,12 +1327,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate">icon-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconTranslation; #else @@ -1616,12 +1352,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate">icon-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconTranslation; #endif @@ -1642,10 +1378,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate-anchor">icon-translate-anchor layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *iconTranslationAnchor; @@ -1663,12 +1399,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textColor; #else @@ -1682,12 +1418,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textColor; #endif @@ -1704,12 +1440,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textHaloBlur; @@ -1724,12 +1460,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textHaloColor; #else @@ -1743,12 +1479,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textHaloColor; #endif @@ -1766,12 +1502,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textHaloWidth; @@ -1785,12 +1521,12 @@ MGL_EXPORT This property is only applied to the style if `text` is non-`nil`. Otherwise, it is ignored. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textOpacity; @@ -1811,12 +1547,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate">text-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textTranslation; #else @@ -1836,12 +1572,12 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate">text-translate layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of: - - `MGLInterpolationModeExponential` - - `MGLInterpolationModeInterval` + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of: + * `MGLInterpolationModeExponential` + * `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textTranslation; #endif @@ -1862,10 +1598,10 @@ MGL_EXPORT href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate-anchor">text-translate-anchor layout property in the Mapbox Style Specification. - This property can be set to one of the following values: + You can set this property to an instance of: - - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of + * `MGLStyleConstantValue` + * `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue *textTranslationAnchor; -- cgit v1.2.1