[Maps] Coerce property value to string to match mapbox-gl spec (#54928)
This commit is contained in:
parent
6b35b97e96
commit
8ee7ed9a06
|
@ -227,7 +227,7 @@ export class DynamicColorProperty extends DynamicStyleProperty {
|
|||
}
|
||||
|
||||
mbStops.push(defaultColor); //last color is default color
|
||||
return ['match', ['get', this._options.field.name], ...mbStops];
|
||||
return ['match', ['to-string', ['get', this._options.field.name]], ...mbStops];
|
||||
}
|
||||
|
||||
_getMbOrdinalColorStops() {
|
||||
|
|
Loading…
Reference in a new issue