Merge pull request #1679 from fredj/layer-swipe

Use 'input' event for HTML input range
This commit is contained in:
Frédéric Junod
2014-02-11 15:41:43 +01:00

View File

@@ -41,6 +41,6 @@ bing.on('postcompose', function(event) {
ctx.restore();
});
swipe.addEventListener('change', function() {
swipe.addEventListener('input', function() {
map.requestRenderFrame();
}, false);