From d03402c6dfcd7f7c54c0757accf398992c6d02ae Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 17 Jun 2013 16:15:13 -0700 Subject: [PATCH] Fix feature list --- js/id/renderer/map.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/id/renderer/map.js b/js/id/renderer/map.js index b22b07d28..84a85631b 100644 --- a/js/id/renderer/map.js +++ b/js/id/renderer/map.js @@ -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() {