diff --git a/css/map.css b/css/map.css index 320fe0f52..2455d4b91 100644 --- a/css/map.css +++ b/css/map.css @@ -888,7 +888,7 @@ text.point { ) 9 9, auto; } -#map.panning { +#map:active { cursor: pointer; /* Opera */ cursor: url(img/cursor-grabbing.png) 9 9, auto; /* FF */ cursor: -webkit-image-set( diff --git a/js/id/renderer/map.js b/js/id/renderer/map.js index e57fc8b4a..4061d7546 100644 --- a/js/id/renderer/map.js +++ b/js/id/renderer/map.js @@ -191,12 +191,6 @@ iD.Map = function(context) { transformed = true; supersurface.style(transformProp, transform); - - if (tX || tY) { - context.container().selectAll('#map') - .classed('panning', true); - } - queueRedraw(); dispatch.move(map); @@ -205,8 +199,6 @@ iD.Map = function(context) { function resetTransform() { if (!transformed) return false; supersurface.style(transformProp, ''); - context.container().selectAll('#map') - .classed('panning', false); transformed = false; return true; }