summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLBackgroundStyleLayer.mm
diff options
context:
space:
mode:
authorFredrik Karlsson <bjorn.fredrik.karlsson@gmail.com>2016-08-12 10:33:20 -0400
committerFredrik Karlsson <bjorn.fredrik.karlsson@gmail.com>2016-08-18 14:26:04 +0200
commit9dc252f2f97d1598583213cad1ead6920d255869 (patch)
tree8cba6078a9654b6cb8c8d1b52b1f4e9a8b4e167b /platform/darwin/src/MGLBackgroundStyleLayer.mm
parentc55b9ca0f8823456dcc770169a6f99431e1e9a0c (diff)
downloadqtlocation-mapboxgl-9dc252f2f97d1598583213cad1ead6920d255869.tar.gz
[ios, macos] fixes #5958 naming conventions
Diffstat (limited to 'platform/darwin/src/MGLBackgroundStyleLayer.mm')
-rw-r--r--platform/darwin/src/MGLBackgroundStyleLayer.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLBackgroundStyleLayer.mm b/platform/darwin/src/MGLBackgroundStyleLayer.mm
index 5ba581869b..1a991a65e9 100644
--- a/platform/darwin/src/MGLBackgroundStyleLayer.mm
+++ b/platform/darwin/src/MGLBackgroundStyleLayer.mm
@@ -37,7 +37,7 @@
}
- (id <MGLStyleAttributeValue>)backgroundColor {
- return [MGLStyleAttribute mbgl_colorPropertyValueWith:self.layer->getBackgroundColor()];
+ return [MGLStyleAttribute mbgl_colorWithPropertyValueColor:self.layer->getBackgroundColor()];
}
- (void)setBackgroundPattern:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)backgroundPattern {
@@ -46,7 +46,7 @@
}
- (id <MGLStyleAttributeValue>)backgroundPattern {
- return [MGLStyleAttribute mbgl_stringPropertyValueWith:self.layer->getBackgroundPattern()];
+ return [MGLStyleAttribute mbgl_stringWithPropertyValueString:self.layer->getBackgroundPattern()];
}
- (void)setBackgroundOpacity:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)backgroundOpacity {
@@ -55,7 +55,7 @@
}
- (id <MGLStyleAttributeValue>)backgroundOpacity {
- return [MGLStyleAttribute mbgl_numberPropertyValueWith:self.layer->getBackgroundOpacity()];
+ return [MGLStyleAttribute mbgl_numberWithPropertyValueNumber:self.layer->getBackgroundOpacity()];
}
@end