We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e8d551 + c4d9a74 commit 0dc8744Copy full SHA for 0dc8744
src/Layers/TiledMapLayer.js
@@ -115,7 +115,10 @@ 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 (this._lodMap && this._lodMap[this._getZoomForUrl()] !== undefined) {
+ if (
119
+ !this._lodMap ||
120
+ (this._lodMap && this._lodMap[this._getZoomForUrl()] !== undefined)
121
+ ) {
122
tile.src = this.getTileUrl(coords);
123
} else {
124
this.once(
0 commit comments