[ios, macos] Add more bullets to style property docs
This commit is contained in:
@@ -281,15 +281,26 @@ 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' +
|
||||
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';
|
||||
doc += '- `MGLCameraStyleFunction` with an interpolation mode of:\n' +
|
||||
' - `MGLInterpolationModeExponential`\n' +
|
||||
' - `MGLInterpolationModeInterval`\n' +
|
||||
'- `MGLSourceStyleFunction` with an interpolation mode of:\n' +
|
||||
' - `MGLInterpolationModeExponential`\n' +
|
||||
' - `MGLInterpolationModeInterval`\n' +
|
||||
' - `MGLInterpolationModeCategorical`\n' +
|
||||
' - `MGLInterpolationModeIdentity`\n' +
|
||||
'- `MGLCompositeStyleFunction` with an interpolation mode of:\n' +
|
||||
' - `MGLInterpolationModeExponential`\n' +
|
||||
' - `MGLInterpolationModeInterval`\n' +
|
||||
' - `MGLInterpolationModeCategorical`\n';
|
||||
} else {
|
||||
if (property.function === "interpolated") {
|
||||
doc += '- `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval`\n';
|
||||
doc += '- `MGLCameraStyleFunction` with an interpolation mode of:\n' +
|
||||
' - `MGLInterpolationModeExponential`\n' +
|
||||
' - `MGLInterpolationModeInterval`\n';
|
||||
} else {
|
||||
doc += '- `MGLCameraStyleFunction` with an interpolation mode of `MGLInterpolationModeInterval`\n';
|
||||
}
|
||||
|
||||
@@ -37,13 +37,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *backgroundColor;
|
||||
#else
|
||||
@@ -55,13 +56,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *backgroundColor;
|
||||
#endif
|
||||
@@ -71,20 +73,21 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `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:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
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:
|
||||
|
||||
@@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
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:
|
||||
|
||||
@@ -31,7 +31,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) {
|
||||
*/
|
||||
MGLCircleScaleAlignmentMap,
|
||||
/**
|
||||
Circles are not scaled.`
|
||||
Circles are not scaled.
|
||||
|
||||
This property can be set to one of the following values:
|
||||
|
||||
@@ -43,7 +43,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) {
|
||||
};
|
||||
|
||||
/**
|
||||
Controls the translation reference point.`
|
||||
Controls the translation reference point.
|
||||
|
||||
This property can be set to one of the following values:
|
||||
|
||||
@@ -56,7 +56,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleScaleAlignment) {
|
||||
*/
|
||||
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:
|
||||
|
||||
@@ -66,7 +66,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) {
|
||||
*/
|
||||
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:
|
||||
|
||||
@@ -123,19 +123,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleBlur;
|
||||
|
||||
@@ -145,19 +149,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *circleColor;
|
||||
#else
|
||||
@@ -166,19 +174,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *circleColor;
|
||||
#endif
|
||||
@@ -188,19 +200,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleOpacity;
|
||||
|
||||
@@ -211,19 +227,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleRadius;
|
||||
|
||||
@@ -236,7 +256,7 @@ 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:
|
||||
|
||||
@@ -254,19 +274,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *circleStrokeColor;
|
||||
#else
|
||||
@@ -275,19 +299,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *circleStrokeColor;
|
||||
#endif
|
||||
@@ -297,19 +325,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleStrokeOpacity;
|
||||
|
||||
@@ -321,19 +353,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *circleStrokeWidth;
|
||||
|
||||
@@ -349,13 +385,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *circleTranslation;
|
||||
#else
|
||||
@@ -370,13 +407,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *circleTranslation;
|
||||
#endif
|
||||
@@ -395,7 +433,7 @@ 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:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
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:
|
||||
|
||||
@@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
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:
|
||||
|
||||
@@ -31,7 +31,7 @@ typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) {
|
||||
*/
|
||||
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:
|
||||
|
||||
@@ -81,7 +81,7 @@ 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:
|
||||
|
||||
@@ -102,19 +102,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *fillColor;
|
||||
#else
|
||||
@@ -126,19 +130,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *fillColor;
|
||||
#endif
|
||||
@@ -149,19 +157,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *fillOpacity;
|
||||
|
||||
@@ -171,19 +183,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *fillOutlineColor;
|
||||
#else
|
||||
@@ -192,26 +208,30 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *fillOutlineColor;
|
||||
#endif
|
||||
|
||||
/**
|
||||
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:
|
||||
|
||||
@@ -233,13 +253,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *fillTranslation;
|
||||
#else
|
||||
@@ -254,13 +275,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *fillTranslation;
|
||||
#endif
|
||||
@@ -279,7 +301,7 @@ 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:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
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:
|
||||
|
||||
@@ -22,7 +22,7 @@ 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:
|
||||
|
||||
@@ -34,7 +34,7 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) {
|
||||
/**
|
||||
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:
|
||||
|
||||
@@ -45,7 +45,7 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) {
|
||||
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:
|
||||
|
||||
@@ -57,7 +57,7 @@ typedef NS_ENUM(NSUInteger, MGLLineCap) {
|
||||
};
|
||||
|
||||
/**
|
||||
The display of lines when joining.`
|
||||
The display of lines when joining.
|
||||
|
||||
This property can be set to one of the following values:
|
||||
|
||||
@@ -71,7 +71,7 @@ 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:
|
||||
|
||||
@@ -83,7 +83,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) {
|
||||
/**
|
||||
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:
|
||||
|
||||
@@ -94,7 +94,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) {
|
||||
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:
|
||||
|
||||
@@ -106,7 +106,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) {
|
||||
};
|
||||
|
||||
/**
|
||||
Controls the translation reference point.`
|
||||
Controls the translation reference point.
|
||||
|
||||
This property can be set to one of the following values:
|
||||
|
||||
@@ -119,7 +119,7 @@ typedef NS_ENUM(NSUInteger, MGLLineJoin) {
|
||||
*/
|
||||
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:
|
||||
|
||||
@@ -129,7 +129,7 @@ typedef NS_ENUM(NSUInteger, MGLLineTranslationAnchor) {
|
||||
*/
|
||||
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:
|
||||
|
||||
@@ -180,7 +180,7 @@ 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:
|
||||
|
||||
@@ -195,7 +195,7 @@ 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:
|
||||
|
||||
@@ -214,13 +214,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineMiterLimit;
|
||||
|
||||
@@ -233,13 +234,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineRoundLimit;
|
||||
|
||||
@@ -252,19 +254,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineBlur;
|
||||
|
||||
@@ -277,19 +283,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *lineColor;
|
||||
#else
|
||||
@@ -301,19 +311,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *lineColor;
|
||||
#endif
|
||||
@@ -330,7 +344,7 @@ 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:
|
||||
|
||||
@@ -350,19 +364,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineGapWidth;
|
||||
|
||||
@@ -376,19 +394,23 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineOffset;
|
||||
|
||||
@@ -397,25 +419,29 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLSourceStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
- `MGLInterpolationModeIdentity`
|
||||
- `MGLCompositeStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
- `MGLInterpolationModeCategorical`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineOpacity;
|
||||
|
||||
/**
|
||||
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:
|
||||
|
||||
@@ -437,13 +463,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineTranslation;
|
||||
#else
|
||||
@@ -458,13 +485,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSValue *> *lineTranslation;
|
||||
#endif
|
||||
@@ -483,7 +511,7 @@ 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:
|
||||
|
||||
@@ -502,13 +530,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *lineWidth;
|
||||
|
||||
|
||||
@@ -48,13 +48,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *maximumRasterBrightness;
|
||||
|
||||
@@ -70,13 +71,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *minimumRasterBrightness;
|
||||
|
||||
@@ -87,13 +89,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterContrast;
|
||||
|
||||
@@ -104,13 +107,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterFadeDuration;
|
||||
|
||||
@@ -125,13 +129,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterHueRotation;
|
||||
|
||||
@@ -142,13 +147,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `MGLInterpolationModeInterval`
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *rasterOpacity;
|
||||
|
||||
@@ -157,13 +163,14 @@ 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`
|
||||
- `MGLCameraStyleFunction` with an interpolation mode of:
|
||||
- `MGLInterpolationModeExponential`
|
||||
- `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