diff options
author | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2016-08-12 10:33:20 -0400 |
---|---|---|
committer | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2016-08-18 14:26:04 +0200 |
commit | 9dc252f2f97d1598583213cad1ead6920d255869 (patch) | |
tree | 8cba6078a9654b6cb8c8d1b52b1f4e9a8b4e167b /platform/darwin/src/MGLRasterStyleLayer.mm | |
parent | c55b9ca0f8823456dcc770169a6f99431e1e9a0c (diff) | |
download | qtlocation-mapboxgl-9dc252f2f97d1598583213cad1ead6920d255869.tar.gz |
[ios, macos] fixes #5958 naming conventions
Diffstat (limited to 'platform/darwin/src/MGLRasterStyleLayer.mm')
-rw-r--r-- | platform/darwin/src/MGLRasterStyleLayer.mm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/platform/darwin/src/MGLRasterStyleLayer.mm b/platform/darwin/src/MGLRasterStyleLayer.mm index c15ebd1d45..291b7d60d8 100644 --- a/platform/darwin/src/MGLRasterStyleLayer.mm +++ b/platform/darwin/src/MGLRasterStyleLayer.mm @@ -37,7 +37,7 @@ } - (id <MGLStyleAttributeValue>)rasterOpacity { - return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getRasterOpacity()]; + return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getRasterOpacity()]; } - (void)setRasterHueRotate:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)rasterHueRotate { @@ -46,7 +46,7 @@ } - (id <MGLStyleAttributeValue>)rasterHueRotate { - return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getRasterHueRotate()]; + return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getRasterHueRotate()]; } - (void)setRasterBrightnessMin:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)rasterBrightnessMin { @@ -55,7 +55,7 @@ } - (id <MGLStyleAttributeValue>)rasterBrightnessMin { - return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getRasterBrightnessMin()]; + return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getRasterBrightnessMin()]; } - (void)setRasterBrightnessMax:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)rasterBrightnessMax { @@ -64,7 +64,7 @@ } - (id <MGLStyleAttributeValue>)rasterBrightnessMax { - return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getRasterBrightnessMax()]; + return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getRasterBrightnessMax()]; } - (void)setRasterSaturation:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)rasterSaturation { @@ -73,7 +73,7 @@ } - (id <MGLStyleAttributeValue>)rasterSaturation { - return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getRasterSaturation()]; + return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getRasterSaturation()]; } - (void)setRasterContrast:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)rasterContrast { @@ -82,7 +82,7 @@ } - (id <MGLStyleAttributeValue>)rasterContrast { - return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getRasterContrast()]; + return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getRasterContrast()]; } - (void)setRasterFadeDuration:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)rasterFadeDuration { @@ -91,7 +91,7 @@ } - (id <MGLStyleAttributeValue>)rasterFadeDuration { - return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getRasterFadeDuration()]; + return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getRasterFadeDuration()]; } @end |