Fix feature list

This commit is contained in:
John Firebaugh
2013-06-17 16:15:13 -07:00
parent e5a44e9ba1
commit d03402c6df
+5 -5
View File
@@ -63,7 +63,7 @@ iD.Map = function(context) {
if (map.editable() && !transformed) {
var hover = d3.event.target.__data__;
surface.call(vertices.drawHover, context.graph(), hover, map.extent(), map.zoom());
dispatch.drawn(map, {full: false});
dispatch.drawn({full: false});
}
});
@@ -71,7 +71,7 @@ iD.Map = function(context) {
if (map.editable() && !transformed) {
var hover = d3.event.relatedTarget && d3.event.relatedTarget.__data__;
surface.call(vertices.drawHover, context.graph(), hover, map.extent(), map.zoom());
dispatch.drawn(map, {full: false});
dispatch.drawn({full: false});
}
});
@@ -83,7 +83,7 @@ iD.Map = function(context) {
graph = context.graph();
surface.call(vertices, graph, all, filter, extent, map.zoom());
surface.call(midpoints, graph, all, filter, extent);
dispatch.drawn(map, {full: false});
dispatch.drawn({full: false});
}
});
@@ -146,12 +146,12 @@ iD.Map = function(context) {
.call(midpoints, graph, all, filter, map.extent())
.call(labels, graph, all, filter, dimensions, !difference && !extent);
dispatch.drawn(map, {full: true});
dispatch.drawn({full: true});
}
function editOff() {
surface.selectAll('.layer *').remove();
dispatch.drawn(map, {full: true});
dispatch.drawn({full: true});
}
function zoomPan() {