diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-02-10 17:44:06 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-02-18 14:42:16 -0800 |
commit | 8669f933fdaf957253d7ec6b7453b95e93adc1b1 (patch) | |
tree | 21d0e024a384a6fb110d500129394b52c1460b53 /include/mbgl/storage | |
parent | 65b42949c77b4e86db7bf51055e09e160d5a58a1 (diff) | |
download | qtlocation-mapboxgl-8669f933fdaf957253d7ec6b7453b95e93adc1b1.tar.gz |
[ios, macos] Convert NSColor/UIColor expressions to CSS color string values
When converting a constant NSExpression to an mbgl::Value, turn an NSColor or UIColor into an std::string containing a CSS color string. This allows developers to set an attribute of an MGLFeature to an NSColor or UIColor (rather than a CSS color string, which would be foreign), then use it in an MGLStyleFunction with identity interpolation.
Diffstat (limited to 'include/mbgl/storage')
0 files changed, 0 insertions, 0 deletions