You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose you have a map with a background layer and a WFS feature layer.
In a desktop web browser it is possible to click on the feature to trigger the SelectFeature handler as well as starting to drag the map without calling the handler.
On mobile a drag always triggered the SelectFeature handler.
Investigating the issue we found out that the event is triggered at touchstart.
We worked around this issue by replicating the behaviour of another OL component where we evaluate at touchend if it is a click or a drag.
The text was updated successfully, but these errors were encountered:
Suppose you have a map with a background layer and a WFS feature layer.
In a desktop web browser it is possible to click on the feature to trigger the SelectFeature handler as well as starting to drag the map without calling the handler.
On mobile a drag always triggered the SelectFeature handler.
Investigating the issue we found out that the event is triggered at
touchstart
.We worked around this issue by replicating the behaviour of another OL component where we evaluate at
touchend
if it is a click or a drag.The text was updated successfully, but these errors were encountered: