summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2017-02-08 16:22:53 -0800
committerJesse Bounds <jesse@rebounds.net>2017-02-08 21:11:43 -0800
commita49301ad2518663669c6cc7e4719fe786634d982 (patch)
tree57ec022322663013c44fb882f9096857dfc1c98c
parent0e803186272f9febc84ea9c9e0fdc1b44d637d03 (diff)
downloadqtlocation-mapboxgl-a49301ad2518663669c6cc7e4719fe786634d982.tar.gz
[ios, macos] Don't add documentation to NS_ENUM
-rw-r--r--platform/darwin/scripts/generate-style-code.js44
-rw-r--r--platform/darwin/src/MGLBackgroundStyleLayer.h36
-rw-r--r--platform/darwin/src/MGLCircleStyleLayer.h338
-rw-r--r--platform/darwin/src/MGLFillStyleLayer.h206
-rw-r--r--platform/darwin/src/MGLLineStyleLayer.h326
-rw-r--r--platform/darwin/src/MGLRasterStyleLayer.h70
-rw-r--r--platform/darwin/src/MGLSymbolStyleLayer.h806
7 files changed, 721 insertions, 1105 deletions
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 <a href="https://www.mapbox.com/mapbox-gl-style-spec/#${anchor}"><code>${property.original}</code></a> layout property in the Mapbox Style Specification.`;
}
- }
- doc += '\n\nThis property can be set to one of the following values:\n\n' +
- '- `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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<NSString *> *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<NSNumber *> *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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<NSNumber *> *circleRadius;
@@ -258,10 +222,10 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-pitch-scale"><code>circle-pitch-scale</code></a>
layout property in the Mapbox Style Specification.
- 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<NSValue *> *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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<NSNumber *> *circleStrokeWidth;
@@ -387,12 +351,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate"><code>circle-translate</code></a>
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<NSValue *> *circleTranslation;
#else
@@ -409,12 +373,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate"><code>circle-translate</code></a>
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<NSValue *> *circleTranslation;
#endif
@@ -435,10 +399,10 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate-anchor"><code>circle-translate-anchor</code></a>
layout property in the Mapbox Style Specification.
- 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<NSValue *> *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"><code>fill-antialias</code></a>
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<NSNumber *> *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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<UIColor *> *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<NSColor *> *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<NSString *> *fillPattern;
@@ -255,12 +237,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate"><code>fill-translate</code></a>
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<NSValue *> *fillTranslation;
#else
@@ -277,12 +259,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate"><code>fill-translate</code></a>
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<NSValue *> *fillTranslation;
#endif
@@ -303,10 +285,10 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate-anchor"><code>fill-translate-anchor</code></a>
layout property in the Mapbox Style Specification.
- 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<NSValue *> *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<NSValue *> *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<NSValue *> *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<NSNumber *> *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<NSNumber *> *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<NSNumber *> *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<UIColor *> *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<NSColor *> *lineColor;
#endif
@@ -346,10 +280,10 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-dasharray"><code>line-dasharray</code></a>
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<NSArray<NSNumber *> *> *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<NSNumber *> *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<NSNumber *> *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<NSNumber *> *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<NSString *> *linePattern;
@@ -465,12 +399,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate"><code>line-translate</code></a>
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<NSValue *> *lineTranslation;
#else
@@ -487,12 +421,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate"><code>line-translate</code></a>
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<NSValue *> *lineTranslation;
#endif
@@ -513,10 +447,10 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate-anchor"><code>line-translate-anchor</code></a>
layout property in the Mapbox Style Specification.
- 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<NSValue *> *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<NSNumber *> *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"><code>raster-brightness-max</code></a>
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<NSNumber *> *maximumRasterBrightness;
@@ -73,12 +73,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-brightness-min"><code>raster-brightness-min</code></a>
layout property in the Mapbox Style Specification.
- 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<NSNumber *> *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<NSNumber *> *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<NSNumber *> *rasterFadeDuration;
@@ -131,12 +131,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-hue-rotate"><code>raster-hue-rotate</code></a>
layout property in the Mapbox Style Specification.
- 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<NSNumber *> *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<NSNumber *> *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<NSNumber *> *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"><code>icon-allow-overlap</code></a>
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<NSNumber *> *iconAllowsOverlap;
@@ -586,10 +322,10 @@ MGL_EXPORT
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.
- 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<NSNumber *> *iconIgnoresPlacement;
@@ -604,10 +340,10 @@ MGL_EXPORT
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.
- 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<NSString *> *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<NSValue *> *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<NSValue *> *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<NSNumber *> *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<NSNumber *> *iconPadding;
@@ -730,21 +466,21 @@ MGL_EXPORT
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.
- 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<NSNumber *> *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<NSValue *> *iconRotationAlignment;
@@ -784,12 +520,12 @@ MGL_EXPORT
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.
- 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<NSNumber *> *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<NSValue *> *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<NSValue *> *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<NSValue *> *iconTextFitPadding;
#endif
@@ -879,10 +615,10 @@ MGL_EXPORT
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.
- 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<NSNumber *> *keepsIconUpright;
@@ -908,10 +644,10 @@ MGL_EXPORT
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.
- 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<NSNumber *> *keepsTextUpright;
@@ -936,12 +672,12 @@ MGL_EXPORT
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.
- 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<NSNumber *> *maximumTextAngle;
@@ -964,12 +700,12 @@ MGL_EXPORT
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.
- 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<NSNumber *> *maximumTextWidth;
@@ -990,10 +726,10 @@ MGL_EXPORT
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.
- 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<NSNumber *> *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<NSValue *> *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<NSNumber *> *symbolSpacing;
@@ -1049,10 +785,10 @@ MGL_EXPORT
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.
- 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<NSString *> *text;
@@ -1075,10 +811,10 @@ MGL_EXPORT
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.
- 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<NSNumber *> *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<NSValue *> *textAnchor;
@@ -1128,10 +864,10 @@ MGL_EXPORT
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.
- 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<NSArray<NSString *> *> *textFontNames;
@@ -1155,12 +891,12 @@ MGL_EXPORT
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.
- 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<NSNumber *> *textFontSize;
@@ -1181,10 +917,10 @@ MGL_EXPORT
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.
- 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<NSNumber *> *textIgnoresPlacement;
@@ -1206,10 +942,10 @@ MGL_EXPORT
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.
- 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<NSValue *> *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<NSNumber *> *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<NSNumber *> *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<NSValue *> *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<NSValue *> *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<NSNumber *> *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<NSNumber *> *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<NSValue *> *textPitchAlignment;
@@ -1378,12 +1114,12 @@ MGL_EXPORT
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.
- 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<NSNumber *> *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<NSValue *> *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<NSValue *> *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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<NSNumber *> *iconOpacity;
@@ -1591,12 +1327,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a>
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<NSValue *> *iconTranslation;
#else
@@ -1616,12 +1352,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a>
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<NSValue *> *iconTranslation;
#endif
@@ -1642,10 +1378,10 @@ MGL_EXPORT
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.
- 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<NSValue *> *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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<UIColor *> *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<NSColor *> *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<NSNumber *> *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<NSNumber *> *textOpacity;
@@ -1811,12 +1547,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a>
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<NSValue *> *textTranslation;
#else
@@ -1836,12 +1572,12 @@ MGL_EXPORT
href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a>
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<NSValue *> *textTranslation;
#endif
@@ -1862,10 +1598,10 @@ MGL_EXPORT
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.
- 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<NSValue *> *textTranslationAnchor;