mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 08:39:56 +02:00
Fix layer switching
This commit is contained in:
@@ -72,7 +72,7 @@ iD.layerswitcher = function(map) {
|
||||
.on('click', function(d) {
|
||||
d3.event.preventDefault();
|
||||
map.background.source(d.source);
|
||||
map.redraw();
|
||||
map.redraw({ moved: true });
|
||||
selectLayer(d);
|
||||
});
|
||||
selectLayer(map.background.source());
|
||||
|
||||
Reference in New Issue
Block a user