diff options
author | Vladimir Agafonkin <agafonkin@gmail.com> | 2018-11-28 12:04:08 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-11-28 15:57:26 +0200 |
commit | 43990b7d7140da7767f796ea0d6816d4599a9761 (patch) | |
tree | 7a2a4875bdfc4a8d9d74ba24a48d69e96cb88258 /platform/darwin/src/MGLFillExtrusionStyleLayer.h | |
parent | e1e6db768e197273c3c079bb300e110e3923d63c (diff) | |
download | qtlocation-mapboxgl-43990b7d7140da7767f796ea0d6816d4599a9761.tar.gz |
[darwin] update darwin code for fill-extrusion-vertical-gradient
Diffstat (limited to 'platform/darwin/src/MGLFillExtrusionStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLFillExtrusionStyleLayer.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLFillExtrusionStyleLayer.h b/platform/darwin/src/MGLFillExtrusionStyleLayer.h index 6e807c1b44..c35a2374ed 100644 --- a/platform/darwin/src/MGLFillExtrusionStyleLayer.h +++ b/platform/darwin/src/MGLFillExtrusionStyleLayer.h @@ -334,6 +334,27 @@ MGL_EXPORT @property (nonatomic, null_resettable) NSExpression *fillExtrusionTranslateAnchor __attribute__((unavailable("Use fillExtrusionTranslationAnchor instead."))); +/** + Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If + true, sides will be shaded slightly darker farther down. + + The default value of this property is an expression that evaluates to `YES`. + Set this property to `nil` to reset it to the default value. + + You can set this property to an expression containing any of the following: + + * Constant Boolean values + * Predefined functions, including mathematical and string operators + * Conditional expressions + * Variable assignments and references to assigned variables + * Step functions applied to the `$zoomLevel` variable + + This property does not support applying interpolation functions to the + `$zoomLevel` variable or applying interpolation or step functions to feature + attributes. + */ +@property (nonatomic, null_resettable) NSExpression *fillExtrusionVerticalGradient; + @end /** |