maplibre-gl 3.4.1 → 3.5.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/maplibre-gl-csp.js +1 -1
- package/dist/maplibre-gl-csp.js.map +1 -1
- package/dist/maplibre-gl-dev.js +29 -10
- package/dist/maplibre-gl-dev.js.map +1 -1
- package/dist/maplibre-gl.d.ts +8 -0
- package/dist/maplibre-gl.js +2 -2
- package/dist/maplibre-gl.js.map +1 -1
- package/package.json +9 -9
- package/src/source/raster_tile_source.test.ts +11 -0
- package/src/source/raster_tile_source.ts +24 -0
package/dist/maplibre-gl.d.ts
CHANGED
|
@@ -11289,6 +11289,14 @@ export declare class RasterTileSource extends Evented implements Source {
|
|
|
11289
11289
|
loaded(): boolean;
|
|
11290
11290
|
onAdd(map: Map): void;
|
|
11291
11291
|
onRemove(): void;
|
|
11292
|
+
setSourceProperty(callback: Function): void;
|
|
11293
|
+
/**
|
|
11294
|
+
* Sets the source `tiles` property and re-renders the map.
|
|
11295
|
+
*
|
|
11296
|
+
* @param tiles - An array of one or more tile source URLs, as in the raster tiles spec (See the [Style Specification](https://maplibre.org/maplibre-style-spec/)
|
|
11297
|
+
* @returns `this`
|
|
11298
|
+
*/
|
|
11299
|
+
setTiles(tiles: Array<string>): this;
|
|
11292
11300
|
serialize(): any;
|
|
11293
11301
|
hasTile(tileID: OverscaledTileID): boolean;
|
|
11294
11302
|
loadTile(tile: Tile, callback: Callback<void>): void;
|