accessibility improvements

This commit is contained in:
vcoppe committed 2024-06-27 15:50:15 +02:00
1 parent f08b2b094f
commit 1fdcc4289a
12 files changed
+119 -59

No files matched your search

@@ -98,6 +98,9 @@
$map.on('mousedown', onMouseDown);
$map.on('mousemove', onMouseMove);
$map.on('mouseup', onMouseUp);
$map.on('touchstart', onMouseDown);
$map.on('touchmove', onMouseMove);
$map.on('touchend', onMouseUp);
$map.dragPan.disable();
}
@@ -107,6 +110,9 @@
$map.off('mousedown', onMouseDown);
$map.off('mousemove', onMouseMove);
$map.off('mouseup', onMouseUp);
$map.off('touchstart', onMouseDown);
$map.off('touchmove', onMouseMove);
$map.off('touchend', onMouseUp);
$map.dragPan.enable();
if ($map.getLayer('rectangle')) {