Type Alias SymbolPaintProps
type SymbolPaintProps = {
"icon-color": DataDrivenProperty<Color>;
"icon-halo-blur": DataDrivenProperty<number>;
"icon-halo-color": DataDrivenProperty<Color>;
"icon-halo-width": DataDrivenProperty<number>;
"icon-opacity": DataDrivenProperty<number>;
"icon-translate": DataConstantProperty<[number, number]>;
"icon-translate-anchor": DataConstantProperty<"map" | "viewport">;
"text-color": DataDrivenProperty<Color>;
"text-halo-blur": DataDrivenProperty<number>;
"text-halo-color": DataDrivenProperty<Color>;
"text-halo-width": DataDrivenProperty<number>;
"text-opacity": DataDrivenProperty<number>;
"text-translate": DataConstantProperty<[number, number]>;
"text-translate-anchor": DataConstantProperty<"map" | "viewport">;
}
"icon-color": DataDrivenProperty<Color>;
"icon-halo-blur": DataDrivenProperty<number>;
"icon-halo-color": DataDrivenProperty<Color>;
"icon-halo-width": DataDrivenProperty<number>;
"icon-opacity": DataDrivenProperty<number>;
"icon-translate": DataConstantProperty<[number, number]>;
"icon-translate-anchor": DataConstantProperty<"map" | "viewport">;
"text-color": DataDrivenProperty<Color>;
"text-halo-blur": DataDrivenProperty<number>;
"text-halo-color": DataDrivenProperty<Color>;
"text-halo-width": DataDrivenProperty<number>;
"text-opacity": DataDrivenProperty<number>;
"text-translate": DataConstantProperty<[number, number]>;
"text-translate-anchor": DataConstantProperty<"map" | "viewport">;
}
Was this helpful?