Skip to content

Interface: MaskProperty

The mask property of the image layer

Properties

PropertyTypeDescription
datastring | GeoJSON<Geometry, GeoJsonProperties>The GeoJSON data or URL of the GeoJSON data for the mask
type?"in" | "out"The type of the mask, 'in' means the area inside the polygon will be masked, 'out' means the area outside the polygon will be masked, default is 'in'