#import #import "MGLTypes.h" #import "MGLStyleAttributeFunction_Private.h" #include @protocol MGLStyleAttributeValue_Private - (BOOL)isFunction; @optional // Convert darwin types to mbgl types - (mbgl::style::PropertyValue)mbgl_colorPropertyValue; - (mbgl::style::PropertyValue)mbgl_floatPropertyValue; - (mbgl::style::PropertyValue)mbgl_boolPropertyValue; - (mbgl::style::PropertyValue)mbgl_stringPropertyValue; - (mbgl::style::PropertyValue>)mbgl_offsetPropertyValue; - (mbgl::style::PropertyValue>)mbgl_paddingPropertyValue; - (mbgl::style::PropertyValue >)mbgl_stringArrayPropertyValue; - (mbgl::style::PropertyValue >)mbgl_numberArrayPropertyValue; - (mbgl::style::PropertyValue)mbgl_enumPropertyValue; // Convert mbgl types to darwin types - (id )mbgl_colorPropertyValueWith:(mbgl::style::PropertyValue)color; @end