From 1eb5744b8d449715ef2a11889e7d76cc3852e54d Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Wed, 9 Jan 2013 16:45:03 -0500 Subject: [PATCH] Make vertex tag edits show up in inspector --- js/id/renderer/map.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/id/renderer/map.js b/js/id/renderer/map.js index ede4fb4ac..d084c60f4 100644 --- a/js/id/renderer/map.js +++ b/js/id/renderer/map.js @@ -175,6 +175,11 @@ iD.Map = function() { circles.attr('transform', pointTransform) .classed('shared', shared); + + // Selecting the following implicitly + // sets the data (vertix entity) on the elements + circles.select('circle.fill'); + circles.select('circle.stroke'); } function drawAccuracyHandles(waynodes, filter) { @@ -243,6 +248,8 @@ iD.Map = function() { groups.attr('transform', pointTransform); + // Selecting the following implicitly + // sets the data (point entity) on the element groups.select('image').attr('xlink:href', iD.Style.pointImage); }