MapKit JS - Map can't scroll on the latest Chrome for Android (68.0.3440)

On the latest Chrome for Android (68.0.3440), MapKit JS doesn't allow the user to pan the map. Actually it seems that all gesture events are disabled, including panning, zooming and more.


I also tested on Chrome for Android 67.0.3396 and gestures work there.

Replies

Did more digging.


Apparently Chrome for Android (68.0.3440) removed the `document.createTouch` method. This method is used by MapKit JS to check if touch events are supported on the device. That explains why none of the gestures work.


See this commit for details: https://chromium.googlesource.com/chromium/src/+/1129d0d679e25123091792887b463ac9c2606297

Is there any solution to this problem yet? I need scrolling to work on Android! Running Chrome 70.something.

Yes. The latest update of MapKit JS includes a fix for this.