summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLSymbolStyleLayer.h
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2017-02-06 15:07:13 -0800
committerJesse Bounds <jesse@rebounds.net>2017-02-08 21:11:43 -0800
commita383edaae8ec05a3b385b19576c7a9358672662b (patch)
treec703688e301180cb5d78aa262b1703b4cc46ca4f /platform/darwin/src/MGLSymbolStyleLayer.h
parent94a3c272ffd6676edbe59342d70bca49aaf676a5 (diff)
downloadqtlocation-mapboxgl-a383edaae8ec05a3b385b19576c7a9358672662b.tar.gz
[ios, macos] Add function and interpolation mode to style property docs
Diffstat (limited to 'platform/darwin/src/MGLSymbolStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLSymbolStyleLayer.h826
1 files changed, 725 insertions, 101 deletions
diff --git a/platform/darwin/src/MGLSymbolStyleLayer.h b/platform/darwin/src/MGLSymbolStyleLayer.h
index 9739b2fe5c..245a9b361d 100644
--- a/platform/darwin/src/MGLSymbolStyleLayer.h
+++ b/platform/darwin/src/MGLSymbolStyleLayer.h
@@ -9,7 +9,13 @@ NS_ASSUME_NONNULL_BEGIN
/**
In combination with `symbolPlacement`, determines the rotation behavior of
- icons.
+ icons.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
Values of this type are used in the `MGLSymbolStyleLayer.iconRotationAlignment`
property.
@@ -18,156 +24,336 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) {
/**
When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, aligns icons
east-west. When `symbolPlacement` is set to `MGLSymbolPlacementLine`,
- aligns icon x-axes with the line.
+ aligns icon x-axes with the line.`
+
+ This property can be set to one of the following values:
+
+ - `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`.
+ 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,
/**
When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, this is
equivalent to `MGLIconRotationAlignmentViewport`. When `symbolPlacement` is
set to `MGLSymbolPlacementLine`, this is equivalent to
- `MGLIconRotationAlignmentMap`.
+ `MGLIconRotationAlignmentMap`.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLIconRotationAlignmentAuto,
};
/**
- Scales the icon to fit around the associated text.
+ Scales the icon to fit around the associated text.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
Values of this type are used in the `MGLSymbolStyleLayer.iconTextFit`
property.
*/
typedef NS_ENUM(NSUInteger, MGLIconTextFit) {
/**
- The icon is displayed at its intrinsic aspect ratio.
+ The icon is displayed at its intrinsic aspect ratio.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLIconTextFitNone,
/**
- The icon is scaled in the x-dimension to fit the width of the text.
+ The icon is scaled in the x-dimension to fit the width of the text.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLIconTextFitWidth,
/**
- The icon is scaled in the y-dimension to fit the height of the text.
+ The icon is scaled in the y-dimension to fit the height of the text.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLIconTextFitHeight,
/**
- The icon is scaled in both x- and y-dimensions.
+ The icon is scaled in both x- and y-dimensions.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLIconTextFitBoth,
};
/**
- Label placement relative to its geometry.
+ 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.
*/
typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) {
/**
- The label is placed at the point where the geometry is located.
+ The label is placed at the point where the geometry is located.`
+
+ This property can be set to one of the following values:
+
+ - `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.
+ `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.
+ 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.
*/
typedef NS_ENUM(NSUInteger, MGLTextAnchor) {
/**
- The center of the text is placed closest to the anchor.
+ The center of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorCenter,
/**
- The left side of the text is placed closest to the anchor.
+ The left side of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorLeft,
/**
- The right side of the text is placed closest to the anchor.
+ The right side of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorRight,
/**
- The top of the text is placed closest to the anchor.
+ The top of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorTop,
/**
- The bottom of the text is placed closest to the anchor.
+ The bottom of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorBottom,
/**
- The top left corner of the text is placed closest to the anchor.
+ The top left corner of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorTopLeft,
/**
- The top right corner of the text is placed closest to the anchor.
+ The top right corner of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorTopRight,
/**
- The bottom left corner of the text is placed closest to the anchor.
+ The bottom left corner of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorBottomLeft,
/**
- The bottom right corner of the text is placed closest to the anchor.
+ The bottom right corner of the text is placed closest to the anchor.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextAnchorBottomRight,
};
/**
- Text justification options.
+ 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.
*/
typedef NS_ENUM(NSUInteger, MGLTextJustification) {
/**
- The text is aligned to the left.
+ The text is aligned to the left.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextJustificationLeft,
/**
- The text is centered.
+ 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.
+ 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.
+ 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.
*/
typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) {
/**
- The text is aligned to the plane of the map.
+ The text is aligned to the plane of the map.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextPitchAlignmentMap,
/**
- The text is aligned to the plane of the viewport.
+ The text is aligned to the plane of the viewport.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextPitchAlignmentViewport,
/**
- Automatically matches the value of `textRotationAlignment`.
+ 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,
};
/**
In combination with `symbolPlacement`, determines the rotation behavior of the
- individual glyphs forming the text.
+ individual glyphs forming the text.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
Values of this type are used in the `MGLSymbolStyleLayer.textRotationAlignment`
property.
@@ -176,74 +362,152 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) {
/**
When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, aligns text
east-west. When `symbolPlacement` is set to `MGLSymbolPlacementLine`,
- aligns text x-axes with the line.
+ aligns text x-axes with the line.`
+
+ This property can be set to one of the following values:
+
+ - `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`.
+ 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,
/**
When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, this is
equivalent to `MGLTextRotationAlignmentViewport`. When `symbolPlacement` is
set to `MGLSymbolPlacementLine`, this is equivalent to
- `MGLTextRotationAlignmentMap`.
+ `MGLTextRotationAlignmentMap`.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextRotationAlignmentAuto,
};
/**
- Specifies how to capitalize text.
+ 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.
*/
typedef NS_ENUM(NSUInteger, MGLTextTransform) {
/**
- The text is not altered.
+ The text is not altered.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextTransformNone,
/**
- Forces all letters to be displayed in uppercase.
+ Forces all letters to be displayed in uppercase.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextTransformUppercase,
/**
- Forces all letters to be displayed in lowercase.
+ Forces all letters to be displayed in lowercase.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextTransformLowercase,
};
/**
- Controls the translation reference point.
+ 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.
*/
typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) {
/**
- Icons are translated relative to the map.
+ Icons are translated relative to the map.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLIconTranslationAnchorMap,
/**
- Icons are translated relative to the viewport.
+ Icons are translated relative to the viewport.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLIconTranslationAnchorViewport,
};
/**
- Controls the translation reference point.
+ 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.
*/
typedef NS_ENUM(NSUInteger, MGLTextTranslationAnchor) {
/**
- The text is translated relative to the map.
+ The text is translated relative to the map.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextTranslationAnchorMap,
/**
- The text is translated relative to the viewport.
+ The text is translated relative to the viewport.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
MGLTextTranslationAnchorViewport,
};
@@ -295,7 +559,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-allow-overlap"><code>icon-allow-overlap</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconAllowsOverlap;
@@ -314,7 +584,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-ignore-placement"><code>icon-ignore-placement</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconIgnoresPlacement;
@@ -326,7 +602,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-image"><code>icon-image</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSString *> *iconImageName;
@@ -342,7 +624,19 @@ MGL_EXPORT
downward. Set this property to `nil` to reset it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
+ - `MGLSourceStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`,
+ `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity`
+ - `MGLCompositeStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or
+ `MGLInterpolationModeCategorical`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconOffset;
#else
@@ -354,7 +648,19 @@ MGL_EXPORT
upward. Set this property to `nil` to reset it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
+ - `MGLSourceStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`,
+ `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity`
+ - `MGLCompositeStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or
+ `MGLInterpolationModeCategorical`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconOffset;
#endif
@@ -368,7 +674,13 @@ MGL_EXPORT
the default value.
This property is only applied to the style if `iconImageName` is non-`nil`, and
- `text` is non-`nil`. Otherwise, it is ignored.
+ `text` is non-`nil`. Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable, getter=isIconOptional) MGLStyleValue<NSNumber *> *iconOptional;
@@ -383,7 +695,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconPadding;
@@ -401,7 +719,19 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-rotate"><code>icon-rotate</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
+ - `MGLSourceStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`,
+ `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity`
+ - `MGLCompositeStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or
+ `MGLInterpolationModeCategorical`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconRotation;
@@ -417,7 +747,13 @@ MGL_EXPORT
to `nil` to reset it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconRotationAlignment;
@@ -433,7 +769,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-size"><code>icon-size</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconScale;
@@ -448,7 +790,13 @@ MGL_EXPORT
reset it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`, and
- `text` is non-`nil`. Otherwise, it is ignored.
+ `text` is non-`nil`. Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFit;
@@ -465,7 +813,13 @@ MGL_EXPORT
This property is only applied to the style if `iconImageName` is non-`nil`, and
`text` is non-`nil`, and `iconTextFit` is set to an `MGLStyleValue` object
containing an `NSValue` object containing `MGLIconTextFitBoth`,
- `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.
+ `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFitPadding;
#else
@@ -481,7 +835,13 @@ MGL_EXPORT
This property is only applied to the style if `iconImageName` is non-`nil`, and
`text` is non-`nil`, and `iconTextFit` is set to an `MGLStyleValue` object
containing an `NSValue` object containing `MGLIconTextFitBoth`,
- `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.
+ `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFitPadding;
#endif
@@ -501,7 +861,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-keep-upright"><code>icon-keep-upright</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *keepsIconUpright;
@@ -524,7 +890,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-keep-upright"><code>text-keep-upright</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *keepsTextUpright;
@@ -546,7 +918,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-angle"><code>text-max-angle</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumTextAngle;
@@ -567,7 +945,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-width"><code>text-max-width</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumTextWidth;
@@ -586,7 +970,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-symbol-avoid-edges"><code>symbol-avoid-edges</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *symbolAvoidsEdges;
@@ -598,7 +988,13 @@ MGL_EXPORT
The default value of this property is an `MGLStyleValue` object containing an
`NSValue` object containing `MGLSymbolPlacementPoint`. Set this property to
- `nil` to reset it to the default value.
+ `nil` to reset it to the default value.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *symbolPlacement;
@@ -613,7 +1009,13 @@ MGL_EXPORT
This property is only applied to the style if `symbolPlacement` is set to an
`MGLStyleValue` object containing an `NSValue` object containing
- `MGLSymbolPlacementLine`. Otherwise, it is ignored.
+ `MGLSymbolPlacementLine`. Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *symbolSpacing;
@@ -626,7 +1028,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-field"><code>text-field</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSString *> *text;
@@ -646,7 +1054,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-allow-overlap"><code>text-allow-overlap</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textAllowsOverlap;
@@ -661,7 +1075,13 @@ MGL_EXPORT
to reset it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textAnchor;
@@ -687,7 +1107,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-font"><code>text-font</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSArray<NSString *> *> *textFontNames;
@@ -708,7 +1134,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-size"><code>text-size</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textFontSize;
@@ -727,7 +1159,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-ignore-placement"><code>text-ignore-placement</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textIgnoresPlacement;
@@ -746,7 +1184,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-justify"><code>text-justify</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textJustification;
@@ -763,7 +1207,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textLetterSpacing;
@@ -777,7 +1227,13 @@ MGL_EXPORT
reset it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textLineHeight;
@@ -792,7 +1248,13 @@ MGL_EXPORT
ems downward. Set this property to `nil` to reset it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textOffset;
#else
@@ -806,7 +1268,13 @@ MGL_EXPORT
ems upward. Set this property to `nil` to reset it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textOffset;
#endif
@@ -820,7 +1288,13 @@ MGL_EXPORT
the default value.
This property is only applied to the style if `text` is non-`nil`, and
- `iconImageName` is non-`nil`. Otherwise, it is ignored.
+ `iconImageName` is non-`nil`. Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable, getter=isTextOptional) MGLStyleValue<NSNumber *> *textOptional;
@@ -835,7 +1309,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textPadding;
@@ -847,7 +1327,13 @@ MGL_EXPORT
`nil` to reset it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textPitchAlignment;
@@ -865,7 +1351,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-rotate"><code>text-rotate</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textRotation;
@@ -881,7 +1373,13 @@ MGL_EXPORT
to `nil` to reset it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textRotationAlignment;
@@ -893,7 +1391,13 @@ MGL_EXPORT
to reset it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTransform;
@@ -909,7 +1413,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *iconColor;
#else
@@ -922,7 +1432,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *iconColor;
#endif
@@ -937,7 +1453,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconHaloBlur;
@@ -951,7 +1473,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *iconHaloColor;
#else
@@ -964,7 +1492,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *iconHaloColor;
#endif
@@ -979,7 +1513,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconHaloWidth;
@@ -991,7 +1531,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `iconImageName` is non-`nil`.
- Otherwise, it is ignored.
+ Otherwise, it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconOpacity;
@@ -1010,7 +1556,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslation;
#else
@@ -1028,7 +1580,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslation;
#endif
@@ -1047,7 +1605,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate-anchor"><code>icon-translate-anchor</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslationAnchor;
@@ -1062,7 +1626,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *textColor;
#else
@@ -1074,7 +1644,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *textColor;
#endif
@@ -1089,7 +1665,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textHaloBlur;
@@ -1102,7 +1684,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *textHaloColor;
#else
@@ -1114,7 +1702,13 @@ MGL_EXPORT
value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *textHaloColor;
#endif
@@ -1130,7 +1724,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textHaloWidth;
@@ -1142,7 +1742,13 @@ MGL_EXPORT
it to the default value.
This property is only applied to the style if `text` is non-`nil`. Otherwise,
- it is ignored.
+ it is ignored.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textOpacity;
@@ -1161,7 +1767,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslation;
#else
@@ -1179,7 +1791,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslation;
#endif
@@ -1198,7 +1816,13 @@ MGL_EXPORT
This attribute corresponds to the <a
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate-anchor"><code>text-translate-anchor</code></a>
- layout property in the Mapbox Style Specification.
+ layout property in the Mapbox Style Specification.`
+
+ This property can be set to one of the following values:
+
+ - `MGLStyleConstantValue`
+ - `MGLCameraStyleFunction` with an interpolation mode of
+ `MGLInterpolationModeInterval`
*/
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslationAnchor;