summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleAttribute.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLStyleAttribute.mm')
-rw-r--r--platform/darwin/src/MGLStyleAttribute.mm16
1 files changed, 8 insertions, 8 deletions
diff --git a/platform/darwin/src/MGLStyleAttribute.mm b/platform/darwin/src/MGLStyleAttribute.mm
index a30ef534f4..38c212ddd4 100644
--- a/platform/darwin/src/MGLStyleAttribute.mm
+++ b/platform/darwin/src/MGLStyleAttribute.mm
@@ -8,7 +8,7 @@
@implementation MGLStyleAttribute
-+ (id <MGLStyleAttributeValue>)mbgl_colorPropertyValueWith:(mbgl::style::PropertyValue<mbgl::Color>)property
++ (id<MGLStyleAttributeValue>)mbgl_colorWithPropertyValueColor:(mbgl::style::PropertyValue<mbgl::Color>)property
{
if (property.isConstant()) {
return [MGLColor mbgl_colorWithColor:property.asConstant()];
@@ -19,7 +19,7 @@
}
}
-+ (id <MGLStyleAttributeValue>)mbgl_numberPropertyValueWith:(mbgl::style::PropertyValue<float>)property
++ (id <MGLStyleAttributeValue>)mbgl_numberWithPropertyValueNumber:(mbgl::style::PropertyValue<float>)property
{
if (property.isConstant()) {
return @(property.asConstant());
@@ -30,7 +30,7 @@
}
}
-+ (id<MGLStyleAttributeValue>)mbgl_boolPropertyValueWith:(mbgl::style::PropertyValue<bool>)property
++ (id<MGLStyleAttributeValue>)mbgl_boolWithPropertyValueBool:(mbgl::style::PropertyValue<bool>)property
{
if (property.isConstant()) {
return @(property.asConstant());
@@ -41,7 +41,7 @@
}
}
-+ (id<MGLStyleAttributeValue>)mbgl_stringPropertyValueWith:(mbgl::style::PropertyValue<std::string>)property
++ (id<MGLStyleAttributeValue>)mbgl_stringWithPropertyValueString:(mbgl::style::PropertyValue<std::string>)property
{
if (property.isConstant()) {
return @(property.asConstant().c_str());
@@ -52,7 +52,7 @@
}
}
-+ (id<MGLStyleAttributeValue>)mbgl_offsetPropertyValueWith:(mbgl::style::PropertyValue<std::array<float, 2> >)property
++ (id<MGLStyleAttributeValue>)mbgl_offsetWithPropertyValueOffset:(mbgl::style::PropertyValue<std::array<float, 2> >)property
{
if (property.isConstant()) {
auto offset = property.asConstant();
@@ -64,7 +64,7 @@
}
}
-+ (id<MGLStyleAttributeValue>)mbgl_paddingPropertyValueWith:(mbgl::style::PropertyValue<std::array<float, 4> >)property
++ (id<MGLStyleAttributeValue>)mbgl_paddingWithPropertyValuePadding:(mbgl::style::PropertyValue<std::array<float, 4> >)property
{
if (property.isConstant()) {
auto padding = property.asConstant();
@@ -76,7 +76,7 @@
}
}
-+ (id<MGLStyleAttributeValue>)mbgl_stringArrayPropertyValueWith:(mbgl::style::PropertyValue<std::vector<std::string> >)property
++ (id<MGLStyleAttributeValue>)mbgl_stringArrayWithPropertyValueStringArray:(mbgl::style::PropertyValue<std::vector<std::string> >)property
{
if (property.isConstant()) {
auto strings = property.asConstant();
@@ -92,7 +92,7 @@
}
}
-+ (id<MGLStyleAttributeValue>)mbgl_numberArrayPropertyValueWith:(mbgl::style::PropertyValue<std::vector<float> >)property
++ (id<MGLStyleAttributeValue>)mbgl_numberArrayWithPropertyValueNumberArray:(mbgl::style::PropertyValue<std::vector<float> >)property
{
if (property.isConstant()) {
auto numbers = property.asConstant();