mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Maps] Apply tile styles before waiting for _tileLoadErrorTracker timer to expire (#29798)
* [Maps] avoid re-loading tiles after * set starting min and max to values provided from descriptor
This commit is contained in:
parent
d9255a9798
commit
37f507e5a9
1 changed files with 3 additions and 3 deletions
|
@ -108,12 +108,12 @@ export class TileLayer extends AbstractLayer {
|
|||
id: mbLayerId,
|
||||
type: 'raster',
|
||||
source: sourceId,
|
||||
minzoom: 0,
|
||||
maxzoom: 22,
|
||||
minzoom: this._descriptor.minZoom,
|
||||
maxzoom: this._descriptor.maxZoom,
|
||||
});
|
||||
this._setTileLayerProperties(mbMap, mbLayerId);
|
||||
|
||||
await this._tileLoadErrorTracker(mbMap, url);
|
||||
this._setTileLayerProperties(mbMap, mbLayerId);
|
||||
}
|
||||
|
||||
_setTileLayerProperties(mbMap, mbLayerId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue