diff --git a/css/map.css b/css/map.css index 5a7bc4e78..706d0395a 100644 --- a/css/map.css +++ b/css/map.css @@ -90,10 +90,10 @@ g.vertex.shared .stroke { } g.midpoint .fill { - fill: #ddd; - stroke: black; - stroke-opacity: .5; - opacity: .5; + fill: #fff; + stroke: #333; + stroke-opacity: .8; + opacity: .8; } g.vertex .shadow, diff --git a/js/id/svg/midpoints.js b/js/id/svg/midpoints.js index bad753409..5d30d67e7 100644 --- a/js/id/svg/midpoints.js +++ b/js/id/svg/midpoints.js @@ -76,18 +76,18 @@ iD.svg.Midpoints = function(projection, context) { .attr('class', 'midpoint'); group.append('polygon') - .attr('points', '-6,8 8,0 -6,-8') + .attr('points', '-6,8 10,0 -6,-8') .attr('class', 'shadow'); group.append('polygon') - .attr('points', '-3,4 4,0 -3,-4') + .attr('points', '-3,4 5,0 -3,-4') .attr('class', 'fill'); groups.attr('transform', function(d) { var translate = iD.svg.PointTransform(projection), a = context.entity(d.edge[0]), b = context.entity(d.edge[1]), - angle = iD.geo.angle(a, b, projection) * (180 / Math.PI); + angle = Math.round(iD.geo.angle(a, b, projection) * (180 / Math.PI)); return translate(d) + ' rotate(' + angle + ')'; });