Support for icon-text-fit, icon-text-fit-padding (#5334)
* Add support for icon-text-fit * Port unit tests for getIconQuads() from js => cpp * Add support for padding in all 4 directions. * Update all hashes post-merge
This commit is contained in:
@@ -78,6 +78,14 @@ struct ValueConverter<std::array<float, 2>> {
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ValueConverter<std::array<float, 4>> {
|
||||
mbgl::optional<mbgl::style::PropertyValue<std::array<float, 4>>> operator()(const v8::Local<v8::Value>& value) const {
|
||||
(void)value;
|
||||
return {};
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ValueConverter<std::vector<float>> {
|
||||
mbgl::optional<mbgl::style::PropertyValue<std::vector<float>>> operator()(const v8::Local<v8::Value>& value) const {
|
||||
|
||||
Reference in New Issue
Block a user