[ios, macos] Add function and interpolation mode to style property docs
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user