summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLFillStyleLayer.h
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-02-08 18:00:23 -0500
committerJesse Bounds <jesse@rebounds.net>2017-02-08 21:11:43 -0800
commit0e803186272f9febc84ea9c9e0fdc1b44d637d03 (patch)
tree26fb8dd14416319b3c5cde11c465d23aad6ead42 /platform/darwin/src/MGLFillStyleLayer.h
parenta383edaae8ec05a3b385b19576c7a9358672662b (diff)
downloadqtlocation-mapboxgl-0e803186272f9febc84ea9c9e0fdc1b44d637d03.tar.gz
[ios, macos] Add more bullets to style property docs
Diffstat (limited to 'platform/darwin/src/MGLFillStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLFillStyleLayer.h136
1 files changed, 79 insertions, 57 deletions
diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h
index 58bf3d9b6a..92d922c096 100644
--- a/platform/darwin/src/MGLFillStyleLayer.h
+++ b/platform/darwin/src/MGLFillStyleLayer.h
@@ -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: