diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-01-24 15:05:28 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-01-24 15:41:22 -0800 |
commit | 2502a3ab2bf793dcb3a41deb5c93290b3c6ce5fd (patch) | |
tree | 5c52e96803ae64279a02eb4a00857b75490a9279 /platform/darwin/src/MGLHillshadeStyleLayer.mm | |
parent | 7159a14b35ee380450589d69b1e844282030c19f (diff) | |
download | qtlocation-mapboxgl-2502a3ab2bf793dcb3a41deb5c93290b3c6ce5fd.tar.gz |
[core] update mapbox-gl-js submodule pin
* disables transition render test (transitions are not supported with Still image rendering in Node.js)
* removes support for hillshade-illumniation-direction-transition
Diffstat (limited to 'platform/darwin/src/MGLHillshadeStyleLayer.mm')
-rw-r--r-- | platform/darwin/src/MGLHillshadeStyleLayer.mm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/platform/darwin/src/MGLHillshadeStyleLayer.mm b/platform/darwin/src/MGLHillshadeStyleLayer.mm index ac12b52506..538a99daf6 100644 --- a/platform/darwin/src/MGLHillshadeStyleLayer.mm +++ b/platform/darwin/src/MGLHillshadeStyleLayer.mm @@ -216,24 +216,6 @@ namespace mbgl { return MGLStyleValueTransformer<float, NSNumber *>().toExpression(propertyValue); } -- (void)setHillshadeIlluminationDirectionTransition:(MGLTransition )transition { - MGLAssertStyleLayerIsValid(); - - mbgl::style::TransitionOptions options { { MGLDurationFromTimeInterval(transition.duration) }, { MGLDurationFromTimeInterval(transition.delay) } }; - self.rawLayer->setHillshadeIlluminationDirectionTransition(options); -} - -- (MGLTransition)hillshadeIlluminationDirectionTransition { - MGLAssertStyleLayerIsValid(); - - mbgl::style::TransitionOptions transitionOptions = self.rawLayer->getHillshadeIlluminationDirectionTransition(); - MGLTransition transition; - transition.duration = MGLTimeIntervalFromDuration(transitionOptions.duration.value_or(mbgl::Duration::zero())); - transition.delay = MGLTimeIntervalFromDuration(transitionOptions.delay.value_or(mbgl::Duration::zero())); - - return transition; -} - - (void)setHillshadeShadowColor:(NSExpression *)hillshadeShadowColor { MGLAssertStyleLayerIsValid(); |