diff --git a/package.json b/package.json index f5629e3069..e054fd6b9a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@globalfishingwatch/maplibre-gl", "description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library", - "version": "2.1.9-gfw.21", + "version": "2.1.9-gfw.22", "main": "dist/maplibre-gl.js", "style": "dist/maplibre-gl.css", "license": "BSD-3-Clause", diff --git a/src/source/source_cache.ts b/src/source/source_cache.ts index 1a3ebdbc9b..cf7785bd24 100644 --- a/src/source/source_cache.ts +++ b/src/source/source_cache.ts @@ -292,7 +292,7 @@ class SourceCache extends Evented { } if (this.loaded()) { - this._source.fire(new Event('data', { dataType: 'sourcetiles', sourceId: this._source.id })); + this._source.fire(new Event('data', {dataType: 'sourcetiles', sourceId: this._source.id})); } } diff --git a/src/style/style.ts b/src/style/style.ts index 64bfac4279..82af00169d 100644 --- a/src/style/style.ts +++ b/src/style/style.ts @@ -1264,7 +1264,7 @@ class Style extends Evented { (id: string, transform: Transform) => { this.sourceCaches[id].update(transform); }, - 60 + 60, {leading: true} ); _updateSources(transform: Transform) {