maplibre-gl 3.4.0 → 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.
@@ -1681,15 +1681,16 @@ export declare class ImageManager extends Evented {
1681
1681
  beginFrame(): void;
1682
1682
  dispatchRenderCallbacks(ids: Array<string>): void;
1683
1683
  }
1684
- /**
1685
- * The glyph's metrices
1686
- */
1687
1684
  export type GlyphMetrics = {
1688
1685
  width: number;
1689
1686
  height: number;
1690
1687
  left: number;
1691
1688
  top: number;
1692
1689
  advance: number;
1690
+ /**
1691
+ * isDoubleResolution = true for 48px textures
1692
+ */
1693
+ isDoubleResolution?: boolean;
1693
1694
  };
1694
1695
  /**
1695
1696
  * @internal
@@ -11288,6 +11289,14 @@ export declare class RasterTileSource extends Evented implements Source {
11288
11289
  loaded(): boolean;
11289
11290
  onAdd(map: Map): void;
11290
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;
11291
11300
  serialize(): any;
11292
11301
  hasTile(tileID: OverscaledTileID): boolean;
11293
11302
  loadTile(tile: Tile, callback: Callback<void>): void;