Skip to content

Interface: MaskProperty

The properties for masking the image layer.

Properties

PropertyTypeDescription
datastring | GeoJSON<Geometry, GeoJsonProperties>The mask data, supporting inline GeoJSON and remote addresses.
type?"in" | "out"The type of mask operation to perform. - 'in': The image will be visible only within the mask area. - 'out': The image will be visible outside the mask area. If not specified, defaults to 'in'. Default 'in'