Fix point transforms

This commit is contained in:
Tom MacWright
2012-11-20 17:21:11 -05:00
parent 80b90d5171
commit 561bef13f1
+1 -1
View File
@@ -221,7 +221,7 @@ iD.Map = function(elem) {
.attr({ width: 16, height: 16, 'xlink:href': iD.Style.markerimage });
markers.attr('transform', function(d) {
var pt = projection([d.lon, d.lat]);
return 'translate(' + [~~pt[0], ~~pt[1]] + ') transform(-8, -8)';
return 'translate(' + [~~pt[0], ~~pt[1]] + ') translate(-8, -8)';
})
.classed('active', classActive);
}