Fix layer switching

This commit is contained in:
Tom MacWright
2012-12-07 10:01:07 -05:00
parent 7cb6cfbe04
commit 6626c87401
+1 -1
View File
@@ -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());