@naivemap/maplibre-gl-image-layer 0.0.1-alpha.3 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ImageLayer.d.ts +7 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2480 -2553
- package/dist/index.umd.cjs +10 -10
- package/package.json +1 -2
package/dist/ImageLayer.d.ts
CHANGED
|
@@ -118,7 +118,13 @@ export default class ImageLayer implements maplibregl.CustomLayerInterface {
|
|
|
118
118
|
* Updates the URL, the projection, the coordinates, the opacity or the resampling of the image.
|
|
119
119
|
* @param {Object} option Options object.
|
|
120
120
|
*/
|
|
121
|
-
updateImage(option: Partial<ImageLayerOption
|
|
121
|
+
updateImage(option: Partial<Omit<ImageLayerOption, 'mask'>>): this;
|
|
122
|
+
/**
|
|
123
|
+
* Updates the mask property of the image layer.
|
|
124
|
+
* @param mask
|
|
125
|
+
* @returns
|
|
126
|
+
*/
|
|
127
|
+
updateMask(mask: Partial<MaskProperty>): this;
|
|
122
128
|
private loadTexture;
|
|
123
129
|
private getMaskBufferInfo;
|
|
124
130
|
}
|
package/dist/index.d.ts
CHANGED