You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MGLStyleAttributeFunction.functionType should be MGLStyleAttributeFunctionType #5969
MGLStyleAttributeFunction.functionType should be of type MGLStyleAttributeFunctionType, not NSNumber. The style specification allows the type property to be omitted, but the value is actually exponential (MGLStyleAttributeFunctionTypeExponential) or interval (MGLStyleAttributeFunctionTypeInterval) by default, depending on the property, and it’s meaningless for a function to have no type. So there’s no need for a nullable object here.
type is omitted or not yet implemented in function.hpp so I suggest we remove MGLStyleAttributeFunction.functionType and the other unused types until we can make use of them.
Activity
frederoni commentedon Aug 12, 2016
typeis omitted or not yet implemented in function.hpp so I suggest we remove MGLStyleAttributeFunction.functionType and the other unused types until we can make use of them.1ec5 commentedon Aug 12, 2016
Is there a ticket tracking that core work? Seems like it'd be important for style specification compliance and GL JS parity.
1ec5 commentedon Aug 12, 2016
Per @lucaswoj, function
types are only relevant for property functions, so we’ll only need SDK support for them once #4860 is implemented.