diff options
author | Jesse Bounds <jesse@rebounds.net> | 2017-02-06 15:07:13 -0800 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2017-02-08 21:11:43 -0800 |
commit | a383edaae8ec05a3b385b19576c7a9358672662b (patch) | |
tree | c703688e301180cb5d78aa262b1703b4cc46ca4f /platform/darwin | |
parent | 94a3c272ffd6676edbe59342d70bca49aaf676a5 (diff) | |
download | qtlocation-mapboxgl-a383edaae8ec05a3b385b19576c7a9358672662b.tar.gz |
[ios, macos] Add function and interpolation mode to style property docs
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/scripts/generate-style-code.js | 13 | ||||
-rw-r--r-- | platform/darwin/src/MGLBackgroundStyleLayer.h | 32 | ||||
-rw-r--r-- | platform/darwin/src/MGLCircleStyleLayer.h | 206 | ||||
-rw-r--r-- | platform/darwin/src/MGLFillStyleLayer.h | 134 | ||||
-rw-r--r-- | platform/darwin/src/MGLLineStyleLayer.h | 252 | ||||
-rw-r--r-- | platform/darwin/src/MGLRasterStyleLayer.h | 56 | ||||
-rw-r--r-- | platform/darwin/src/MGLSymbolStyleLayer.h | 826 |
7 files changed, 1348 insertions, 171 deletions
diff --git a/platform/darwin/scripts/generate-style-code.js b/platform/darwin/scripts/generate-style-code.js index 72aacbc742..efa7fe2d3c 100644 --- a/platform/darwin/scripts/generate-style-code.js +++ b/platform/darwin/scripts/generate-style-code.js @@ -281,6 +281,19 @@ 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 `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`\n' + + '- `MGLSourceStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity`\n' + + '- `MGLCompositeStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or `MGLInterpolationModeCategorical`\n'; + } else { + if (property.function === "interpolated") { + doc += '- `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential` or `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 02d5faff43..213f52968b 100644 --- a/platform/darwin/src/MGLBackgroundStyleLayer.h +++ b/platform/darwin/src/MGLBackgroundStyleLayer.h @@ -37,7 +37,13 @@ MGL_EXPORT value. This property is only applied to the style if `backgroundPattern` is set to - `nil`. Otherwise, it is ignored. + `nil`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *backgroundColor; #else @@ -49,7 +55,13 @@ MGL_EXPORT value. This property is only applied to the style if `backgroundPattern` is set to - `nil`. Otherwise, it is ignored. + `nil`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *backgroundColor; #endif @@ -59,14 +71,26 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *backgroundOpacity; /** Name of image in style images to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, - ..., 512). + ..., 512).` + + This property can be set to one of the following values: + + - `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 7ecce8b2e3..f6cb05e110 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -8,35 +8,71 @@ NS_ASSUME_NONNULL_BEGIN /** - Controls the scaling behavior of the circle when the map is pitched. + Controls the scaling behavior of the circle when the map is pitched.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLCircleStyleLayer.circleScaleAlignment` property. */ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) { /** - Circles are scaled according to their apparent distance to the camera. + Circles are scaled according to their apparent distance to the camera.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLCircleScaleAlignmentMap, /** - Circles are not scaled. + 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. + 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. */ typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) { /** - The circle is translated relative to the map. + The circle is translated relative to the map.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLCircleTranslationAnchorMap, /** - The circle is translated relative to the viewport. + The circle is translated relative to the viewport.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLCircleTranslationAnchorViewport, }; @@ -87,7 +123,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleBlur; @@ -97,7 +145,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `UIColor.blackColor`. Set this property to `nil` to reset it to the default - value. + value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *circleColor; #else @@ -106,7 +166,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `NSColor.blackColor`. Set this property to `nil` to reset it to the default - value. + value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *circleColor; #endif @@ -116,7 +188,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleOpacity; @@ -127,7 +211,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `5`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleRadius; @@ -140,7 +236,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-pitch-scale"><code>circle-pitch-scale</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *circleScaleAlignment; @@ -152,7 +254,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `UIColor.blackColor`. Set this property to `nil` to reset it to the default - value. + value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *circleStrokeColor; #else @@ -161,7 +275,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing `NSColor.blackColor`. Set this property to `nil` to reset it to the default - value. + value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *circleStrokeColor; #endif @@ -171,7 +297,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleStrokeOpacity; @@ -183,7 +321,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleStrokeWidth; @@ -199,7 +349,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate"><code>circle-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *circleTranslation; #else @@ -214,7 +370,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate"><code>circle-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *circleTranslation; #endif @@ -233,7 +395,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-circle-translate-anchor"><code>circle-translate-anchor</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `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 86f3b1fab0..58bf3d9b6a 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -8,18 +8,36 @@ NS_ASSUME_NONNULL_BEGIN /** - Controls the translation reference point. + Controls the translation reference point.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLFillStyleLayer.fillTranslationAnchor` property. */ typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) { /** - The fill is translated relative to the map. + The fill is translated relative to the map.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLFillTranslationAnchorMap, /** - The fill is translated relative to the viewport. + The fill is translated relative to the viewport.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLFillTranslationAnchorViewport, }; @@ -63,7 +81,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-antialias"><code>fill-antialias</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable, getter=isFillAntialiased) MGLStyleValue<NSNumber *> *fillAntialiased; @@ -78,7 +102,19 @@ MGL_EXPORT value. This property is only applied to the style if `fillPattern` is set to `nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *fillColor; #else @@ -90,7 +126,19 @@ MGL_EXPORT value. This property is only applied to the style if `fillPattern` is set to `nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *fillColor; #endif @@ -101,7 +149,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *fillOpacity; @@ -111,7 +171,19 @@ MGL_EXPORT This property is only applied to the style if `fillPattern` is set to `nil`, and `fillAntialiased` is set to an `MGLStyleValue` object containing an - `NSNumber` object containing `YES`. Otherwise, it is ignored. + `NSNumber` object containing `YES`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *fillOutlineColor; #else @@ -120,14 +192,32 @@ MGL_EXPORT This property is only applied to the style if `fillPattern` is set to `nil`, and `fillAntialiased` is set to an `MGLStyleValue` object containing an - `NSNumber` object containing `YES`. Otherwise, it is ignored. + `NSNumber` object containing `YES`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *fillOutlineColor; #endif /** Name of image in sprite to use for drawing image fills. For seamless patterns, - image width and height must be a factor of two (2, 4, 8, ..., 512). + image width and height must be a factor of two (2, 4, 8, ..., 512).` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSString *> *fillPattern; @@ -143,7 +233,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate"><code>fill-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *fillTranslation; #else @@ -158,7 +254,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate"><code>fill-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *fillTranslation; #endif @@ -177,7 +279,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-fill-translate-anchor"><code>fill-translate-anchor</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `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 56c31337af..436f0ee0d0 100644 --- a/platform/darwin/src/MGLLineStyleLayer.h +++ b/platform/darwin/src/MGLLineStyleLayer.h @@ -8,7 +8,13 @@ NS_ASSUME_NONNULL_BEGIN /** - The display of line endings. + The display of line endings.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLLineStyleLayer.lineCap` property. @@ -16,24 +22,48 @@ NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, MGLLineCap) { /** A cap with a squared-off end which is drawn to the exact endpoint of the - line. + line.` + + This property can be set to one of the following values: + + - `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. + 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. + 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. + 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. @@ -41,35 +71,71 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) { typedef NS_ENUM(NSUInteger, MGLLineJoin) { /** A join with a squared-off end which is drawn beyond the endpoint of the - line at a distance of one-half of the line's width. + line at a distance of one-half of the line's width.` + + This property can be set to one of the following values: + + - `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. + 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. + 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. + 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. */ typedef NS_ENUM(NSUInteger, MGLLineTranslationAnchor) { /** - The line is translated relative to the map. + The line is translated relative to the map.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLLineTranslationAnchorMap, /** - The line is translated relative to the viewport. + The line is translated relative to the viewport.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLLineTranslationAnchorViewport, }; @@ -114,7 +180,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSValue` object containing `MGLLineCapButt`. Set this property to `nil` to - reset it to the default value. + reset it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineCap; @@ -123,7 +195,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSValue` object containing `MGLLineJoinMiter`. Set this property to `nil` to - reset it to the default value. + reset it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineJoin; @@ -136,7 +214,13 @@ MGL_EXPORT This property is only applied to the style if `lineJoin` is set to an `MGLStyleValue` object containing an `NSValue` object containing - `MGLLineJoinMiter`. Otherwise, it is ignored. + `MGLLineJoinMiter`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineMiterLimit; @@ -149,7 +233,13 @@ MGL_EXPORT This property is only applied to the style if `lineJoin` is set to an `MGLStyleValue` object containing an `NSValue` object containing - `MGLLineJoinRound`. Otherwise, it is ignored. + `MGLLineJoinRound`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineRoundLimit; @@ -162,7 +252,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineBlur; @@ -175,7 +277,19 @@ MGL_EXPORT value. This property is only applied to the style if `linePattern` is set to `nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *lineColor; #else @@ -187,7 +301,19 @@ MGL_EXPORT value. This property is only applied to the style if `linePattern` is set to `nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *lineColor; #endif @@ -204,7 +330,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-dasharray"><code>line-dasharray</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSArray<NSNumber *> *> *lineDashPattern; @@ -218,7 +350,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineGapWidth; @@ -232,7 +376,19 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineOffset; @@ -241,13 +397,31 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineOpacity; /** Name of image in style images to use for drawing image lines. For seamless - patterns, image width must be a factor of two (2, 4, 8, ..., 512). + patterns, image width must be a factor of two (2, 4, 8, ..., 512).` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSString *> *linePattern; @@ -263,7 +437,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate"><code>line-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineTranslation; #else @@ -278,7 +458,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate"><code>line-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineTranslation; #endif @@ -297,7 +483,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-line-translate-anchor"><code>line-translate-anchor</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineTranslationAnchor; @@ -310,7 +502,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineWidth; diff --git a/platform/darwin/src/MGLRasterStyleLayer.h b/platform/darwin/src/MGLRasterStyleLayer.h index f10a63b979..d62c55ef7b 100644 --- a/platform/darwin/src/MGLRasterStyleLayer.h +++ b/platform/darwin/src/MGLRasterStyleLayer.h @@ -48,7 +48,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-brightness-max"><code>raster-brightness-max</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumRasterBrightness; @@ -64,7 +70,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-brightness-min"><code>raster-brightness-min</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *minimumRasterBrightness; @@ -75,7 +87,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterContrast; @@ -86,7 +104,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `300`. Set this property to `nil` to - reset it to the default value. + reset it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterFadeDuration; @@ -101,7 +125,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-raster-hue-rotate"><code>raster-hue-rotate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterHueRotation; @@ -112,7 +142,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterOpacity; @@ -121,7 +157,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `0`. Set this property to `nil` to reset - it to the default value. + it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterSaturation; diff --git a/platform/darwin/src/MGLSymbolStyleLayer.h b/platform/darwin/src/MGLSymbolStyleLayer.h index 9739b2fe5c..245a9b361d 100644 --- a/platform/darwin/src/MGLSymbolStyleLayer.h +++ b/platform/darwin/src/MGLSymbolStyleLayer.h @@ -9,7 +9,13 @@ NS_ASSUME_NONNULL_BEGIN /** In combination with `symbolPlacement`, determines the rotation behavior of - icons. + icons.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.iconRotationAlignment` property. @@ -18,156 +24,336 @@ typedef NS_ENUM(NSUInteger, MGLIconRotationAlignment) { /** When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, aligns icons east-west. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, - aligns icon x-axes with the line. + aligns icon x-axes with the line.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconRotationAlignmentMap, /** Produces icons whose x-axes are aligned with the x-axis of the viewport, - regardless of the value of `symbolPlacement`. + regardless of the value of `symbolPlacement`.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconRotationAlignmentViewport, /** When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, this is equivalent to `MGLIconRotationAlignmentViewport`. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, this is equivalent to - `MGLIconRotationAlignmentMap`. + `MGLIconRotationAlignmentMap`.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconRotationAlignmentAuto, }; /** - Scales the icon to fit around the associated text. + Scales the icon to fit around the associated text.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.iconTextFit` property. */ typedef NS_ENUM(NSUInteger, MGLIconTextFit) { /** - The icon is displayed at its intrinsic aspect ratio. + The icon is displayed at its intrinsic aspect ratio.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconTextFitNone, /** - The icon is scaled in the x-dimension to fit the width of the text. + The icon is scaled in the x-dimension to fit the width of the text.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconTextFitWidth, /** - The icon is scaled in the y-dimension to fit the height of the text. + The icon is scaled in the y-dimension to fit the height of the text.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconTextFitHeight, /** - The icon is scaled in both x- and y-dimensions. + The icon is scaled in both x- and y-dimensions.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconTextFitBoth, }; /** - Label placement relative to its geometry. + Label placement relative to its geometry.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.symbolPlacement` property. */ typedef NS_ENUM(NSUInteger, MGLSymbolPlacement) { /** - The label is placed at the point where the geometry is located. + The label is placed at the point where the geometry is located.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLSymbolPlacementPoint, /** The label is placed along the line of the geometry. Can only be used on - `LineString` and `Polygon` geometries. + `LineString` and `Polygon` geometries.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLSymbolPlacementLine, }; /** - Part of the text placed closest to the anchor. + Part of the text placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textAnchor` property. */ typedef NS_ENUM(NSUInteger, MGLTextAnchor) { /** - The center of the text is placed closest to the anchor. + The center of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorCenter, /** - The left side of the text is placed closest to the anchor. + The left side of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorLeft, /** - The right side of the text is placed closest to the anchor. + The right side of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorRight, /** - The top of the text is placed closest to the anchor. + The top of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorTop, /** - The bottom of the text is placed closest to the anchor. + The bottom of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorBottom, /** - The top left corner of the text is placed closest to the anchor. + The top left corner of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorTopLeft, /** - The top right corner of the text is placed closest to the anchor. + The top right corner of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorTopRight, /** - The bottom left corner of the text is placed closest to the anchor. + The bottom left corner of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorBottomLeft, /** - The bottom right corner of the text is placed closest to the anchor. + The bottom right corner of the text is placed closest to the anchor.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextAnchorBottomRight, }; /** - Text justification options. + Text justification options.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textJustification` property. */ typedef NS_ENUM(NSUInteger, MGLTextJustification) { /** - The text is aligned to the left. + The text is aligned to the left.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextJustificationLeft, /** - The text is centered. + The text is centered.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextJustificationCenter, /** - The text is aligned to the right. + The text is aligned to the right.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextJustificationRight, }; /** - Orientation of text when map is pitched. + Orientation of text when map is pitched.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textPitchAlignment` property. */ typedef NS_ENUM(NSUInteger, MGLTextPitchAlignment) { /** - The text is aligned to the plane of the map. + The text is aligned to the plane of the map.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextPitchAlignmentMap, /** - The text is aligned to the plane of the viewport. + The text is aligned to the plane of the viewport.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextPitchAlignmentViewport, /** - Automatically matches the value of `textRotationAlignment`. + Automatically matches the value of `textRotationAlignment`.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextPitchAlignmentAuto, }; /** In combination with `symbolPlacement`, determines the rotation behavior of the - individual glyphs forming the text. + individual glyphs forming the text.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textRotationAlignment` property. @@ -176,74 +362,152 @@ typedef NS_ENUM(NSUInteger, MGLTextRotationAlignment) { /** When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, aligns text east-west. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, - aligns text x-axes with the line. + aligns text x-axes with the line.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextRotationAlignmentMap, /** Produces glyphs whose x-axes are aligned with the x-axis of the viewport, - regardless of the value of `symbolPlacement`. + regardless of the value of `symbolPlacement`.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextRotationAlignmentViewport, /** When `symbolPlacement` is set to `MGLSymbolPlacementPoint`, this is equivalent to `MGLTextRotationAlignmentViewport`. When `symbolPlacement` is set to `MGLSymbolPlacementLine`, this is equivalent to - `MGLTextRotationAlignmentMap`. + `MGLTextRotationAlignmentMap`.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextRotationAlignmentAuto, }; /** - Specifies how to capitalize text. + Specifies how to capitalize text.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textTransform` property. */ typedef NS_ENUM(NSUInteger, MGLTextTransform) { /** - The text is not altered. + The text is not altered.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextTransformNone, /** - Forces all letters to be displayed in uppercase. + Forces all letters to be displayed in uppercase.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextTransformUppercase, /** - Forces all letters to be displayed in lowercase. + Forces all letters to be displayed in lowercase.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextTransformLowercase, }; /** - Controls the translation reference point. + Controls the translation reference point.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.iconTranslationAnchor` property. */ typedef NS_ENUM(NSUInteger, MGLIconTranslationAnchor) { /** - Icons are translated relative to the map. + Icons are translated relative to the map.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconTranslationAnchorMap, /** - Icons are translated relative to the viewport. + Icons are translated relative to the viewport.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLIconTranslationAnchorViewport, }; /** - Controls the translation reference point. + Controls the translation reference point.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` Values of this type are used in the `MGLSymbolStyleLayer.textTranslationAnchor` property. */ typedef NS_ENUM(NSUInteger, MGLTextTranslationAnchor) { /** - The text is translated relative to the map. + The text is translated relative to the map.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextTranslationAnchorMap, /** - The text is translated relative to the viewport. + The text is translated relative to the viewport.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ MGLTextTranslationAnchorViewport, }; @@ -295,7 +559,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-allow-overlap"><code>icon-allow-overlap</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconAllowsOverlap; @@ -314,7 +584,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-ignore-placement"><code>icon-ignore-placement</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconIgnoresPlacement; @@ -326,7 +602,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-image"><code>icon-image</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSString *> *iconImageName; @@ -342,7 +624,19 @@ MGL_EXPORT downward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconOffset; #else @@ -354,7 +648,19 @@ MGL_EXPORT upward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconOffset; #endif @@ -368,7 +674,13 @@ MGL_EXPORT the default value. This property is only applied to the style if `iconImageName` is non-`nil`, and - `text` is non-`nil`. Otherwise, it is ignored. + `text` is non-`nil`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable, getter=isIconOptional) MGLStyleValue<NSNumber *> *iconOptional; @@ -383,7 +695,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconPadding; @@ -401,7 +719,19 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-rotate"><code>icon-rotate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLSourceStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval`, + `MGLInterpolationModeCategorical`, or `MGLInterpolationModeIdentity` + - `MGLCompositeStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential`, `MGLInterpolationModeInterval` or + `MGLInterpolationModeCategorical` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconRotation; @@ -417,7 +747,13 @@ MGL_EXPORT to `nil` to reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconRotationAlignment; @@ -433,7 +769,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-size"><code>icon-size</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconScale; @@ -448,7 +790,13 @@ MGL_EXPORT reset it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`, and - `text` is non-`nil`. Otherwise, it is ignored. + `text` is non-`nil`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFit; @@ -465,7 +813,13 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`, and `text` is non-`nil`, and `iconTextFit` is set to an `MGLStyleValue` object containing an `NSValue` object containing `MGLIconTextFitBoth`, - `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored. + `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFitPadding; #else @@ -481,7 +835,13 @@ MGL_EXPORT This property is only applied to the style if `iconImageName` is non-`nil`, and `text` is non-`nil`, and `iconTextFit` is set to an `MGLStyleValue` object containing an `NSValue` object containing `MGLIconTextFitBoth`, - `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored. + `MGLIconTextFitWidth`, or `MGLIconTextFitHeight`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTextFitPadding; #endif @@ -501,7 +861,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-icon-keep-upright"><code>icon-keep-upright</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *keepsIconUpright; @@ -524,7 +890,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-keep-upright"><code>text-keep-upright</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *keepsTextUpright; @@ -546,7 +918,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-angle"><code>text-max-angle</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumTextAngle; @@ -567,7 +945,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-max-width"><code>text-max-width</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumTextWidth; @@ -586,7 +970,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-symbol-avoid-edges"><code>symbol-avoid-edges</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *symbolAvoidsEdges; @@ -598,7 +988,13 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSValue` object containing `MGLSymbolPlacementPoint`. Set this property to - `nil` to reset it to the default value. + `nil` to reset it to the default value.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *symbolPlacement; @@ -613,7 +1009,13 @@ MGL_EXPORT This property is only applied to the style if `symbolPlacement` is set to an `MGLStyleValue` object containing an `NSValue` object containing - `MGLSymbolPlacementLine`. Otherwise, it is ignored. + `MGLSymbolPlacementLine`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *symbolSpacing; @@ -626,7 +1028,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-field"><code>text-field</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSString *> *text; @@ -646,7 +1054,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-allow-overlap"><code>text-allow-overlap</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textAllowsOverlap; @@ -661,7 +1075,13 @@ MGL_EXPORT to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textAnchor; @@ -687,7 +1107,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-font"><code>text-font</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSArray<NSString *> *> *textFontNames; @@ -708,7 +1134,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-size"><code>text-size</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textFontSize; @@ -727,7 +1159,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-ignore-placement"><code>text-ignore-placement</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textIgnoresPlacement; @@ -746,7 +1184,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-justify"><code>text-justify</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textJustification; @@ -763,7 +1207,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textLetterSpacing; @@ -777,7 +1227,13 @@ MGL_EXPORT reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textLineHeight; @@ -792,7 +1248,13 @@ MGL_EXPORT ems downward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textOffset; #else @@ -806,7 +1268,13 @@ MGL_EXPORT ems upward. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textOffset; #endif @@ -820,7 +1288,13 @@ MGL_EXPORT the default value. This property is only applied to the style if `text` is non-`nil`, and - `iconImageName` is non-`nil`. Otherwise, it is ignored. + `iconImageName` is non-`nil`. Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable, getter=isTextOptional) MGLStyleValue<NSNumber *> *textOptional; @@ -835,7 +1309,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textPadding; @@ -847,7 +1327,13 @@ MGL_EXPORT `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textPitchAlignment; @@ -865,7 +1351,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layout-symbol-text-rotate"><code>text-rotate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textRotation; @@ -881,7 +1373,13 @@ MGL_EXPORT to `nil` to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textRotationAlignment; @@ -893,7 +1391,13 @@ MGL_EXPORT to reset it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTransform; @@ -909,7 +1413,13 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *iconColor; #else @@ -922,7 +1432,13 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *iconColor; #endif @@ -937,7 +1453,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconHaloBlur; @@ -951,7 +1473,13 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *iconHaloColor; #else @@ -964,7 +1492,13 @@ MGL_EXPORT value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *iconHaloColor; #endif @@ -979,7 +1513,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconHaloWidth; @@ -991,7 +1531,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `iconImageName` is non-`nil`. - Otherwise, it is ignored. + Otherwise, it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *iconOpacity; @@ -1010,7 +1556,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslation; #else @@ -1028,7 +1580,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate"><code>icon-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslation; #endif @@ -1047,7 +1605,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-icon-translate-anchor"><code>icon-translate-anchor</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *iconTranslationAnchor; @@ -1062,7 +1626,13 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *textColor; #else @@ -1074,7 +1644,13 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *textColor; #endif @@ -1089,7 +1665,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textHaloBlur; @@ -1102,7 +1684,13 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *textHaloColor; #else @@ -1114,7 +1702,13 @@ MGL_EXPORT value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *textHaloColor; #endif @@ -1130,7 +1724,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textHaloWidth; @@ -1142,7 +1742,13 @@ MGL_EXPORT it to the default value. This property is only applied to the style if `text` is non-`nil`. Otherwise, - it is ignored. + it is ignored.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *textOpacity; @@ -1161,7 +1767,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslation; #else @@ -1179,7 +1791,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate"><code>text-translate</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslation; #endif @@ -1198,7 +1816,13 @@ MGL_EXPORT This attribute corresponds to the <a href="https://www.mapbox.com/mapbox-gl-style-spec/#paint-text-translate-anchor"><code>text-translate-anchor</code></a> - layout property in the Mapbox Style Specification. + layout property in the Mapbox Style Specification.` + + This property can be set to one of the following values: + + - `MGLStyleConstantValue` + - `MGLCameraStyleFunction` with an interpolation mode of + `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *textTranslationAnchor; |