@naivemap/maplibre-gl-image-layer v0.0.1-alpha.1
类型别名: MaskProperty
MaskProperty =
object
The properties for masking the image layer.
属性
data
data:
GeoJSON.Polygon
|GeoJSON.MultiPolygon
The data for the mask, which can be a GeoJSON Polygon or MultiPolygon. If not provided, no mask will be applied.
type?
optional
type:"in"
|"out"
The type of mask to apply.
- 'in': The mask is applied inside the polygon (default).
- 'out': The mask is applied outside the polygon.