Various fixes for browser compatibility issues (#12740)
* Replace Math.log2 with ol/math.log2 * TypedArray.from() browser compatibility fallback * listen for input and change events for range
This commit is contained in:
@@ -57,10 +57,8 @@ aerial.on('postrender', function (event) {
|
||||
ctx.restore();
|
||||
});
|
||||
|
||||
swipe.addEventListener(
|
||||
'input',
|
||||
function () {
|
||||
map.render();
|
||||
},
|
||||
false
|
||||
);
|
||||
const listener = function () {
|
||||
map.render();
|
||||
};
|
||||
swipe.addEventListener('input', listener);
|
||||
swipe.addEventListener('change', listener);
|
||||
|
||||
Reference in New Issue
Block a user