Fix missing .png extension in tile URL
This commit is contained in:
1 parent
f55d96f462
commit
e0c6b685ad
1 file changed
+1
-1
Vendored
+1
-1
@@ -319,7 +319,7 @@ function fetchTileImage(tileX, tileY) {
|
||||
img.onload = function() { resolve(img); };
|
||||
img.onerror = function() { reject(new Error('tile fetch failed')); };
|
||||
// Carto/OSM-style format: {z}/{x}/{y}.png via local proxy
|
||||
img.src = GROUND_TILE_URL + GROUND_TILE_Z + '/' + tileX + '/' + tileY;
|
||||
img.src = GROUND_TILE_URL + GROUND_TILE_Z + '/' + tileX + '/' + tileY + '.png';
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user