openlayers / ol2

OpenLayers v2 - deprecated!
Other
1.47k stars 770 forks source link

Add touch-action property to mobile style #1516

Closed pgiraud closed 7 years ago

pgiraud commented 7 years ago

This pull request is an addition to https://github.com/openlayers/ol2/pull/1511

Adding "touch-action" CSS property and putting "touch-action" related properties at the .olMap level has only been done for the default main stylesheet. However, most of the "mobile-xxx" examples use a specific stylesheet and the map is not panning in these examples on recent versions of Chrome on Android.