This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
MGLStyleFunction needs a colorSpaceModel property #6721
Labels
GL JS parity
For feature parity with Mapbox GL JS
iOS
Mapbox Maps SDK for iOS
macOS
Mapbox Maps SDK for macOS
runtime styling
The iOS and macOS SDKs need to support the new color interpolation option being added in
#6442#8720 via a newcolorSpaceModel
property on MGLStyleFunction. No need to extend the initializers, since we can assume a default color space model of RGB.Ideally, the property would be of type CGColorSpaceModel or NSColorSpaceModel. However, we’d have to provide our own HCL color space model and document the fact that some of the common color space models provided by Core Graphics or AppKit, like grayscale, are unavailable. So it might be easier, if less cool, to define our own enumeration.
/cc @friedbunny @tmcw @zugaldia
The text was updated successfully, but these errors were encountered: