We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83eb5f2 commit 202e125Copy full SHA for 202e125
src/Layers/TiledMapLayer.js
@@ -115,10 +115,7 @@ export const TiledMapLayer = TileLayer.extend({
115
116
// if there is no lod map or an lod map with a proper zoom load the tile
117
// otherwise wait for the lod map to become available
118
- if (
119
- !this._lodMap ||
120
- (this._lodMap && this._lodMap[this._getZoomForUrl()] !== undefined)
121
- ) {
+ if (this._lodMap && this._lodMap[this._getZoomForUrl()] !== undefined) {
122
tile.src = this.getTileUrl(coords);
123
} else {
124
this.once(
0 commit comments