mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 13:18:15 +02:00
Avoid deferred fetching of OSM tiles at low zooms or with layer disabled
(closes #4572)
This commit is contained in:
@@ -129,7 +129,7 @@ export function coreContext() {
|
||||
if (!err) history.merge(result.data, result.extent);
|
||||
if (callback) callback(err, result);
|
||||
}
|
||||
if (connection) {
|
||||
if (connection && context.editable()) {
|
||||
cid = connection.getConnectionId();
|
||||
connection.loadTiles(projection, dimensions, done);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user