archesproject / arches-collector

GNU Affero General Public License v3.0
3 stars 3 forks source link

Improve abrupt over panning and zooming #500

Closed chiatt closed 3 years ago

chiatt commented 5 years ago

Sometimes panning and zooming can result in very abrupt movement of map tiles so that the map ends up centered far from where the user intended to pan. This may be an issue with using mapbox-gl within Cordova. If we can narrow down the cause so that we can resolve the issue or bring it to the attention of the mapbox team.

chiatt commented 5 years ago

I tested mapbox-gl in Cordova using the simple example in this ticket: https://github.com/mapbox/mapbox-gl-js/issues/6879. The same behavior in arches collector occurs in this example as well. However, the behavior does not occur outside of Cordova in this example: https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/. This suggests that the behavior is limited to the use of mapbox-gl within Cordova. Mapbox closed the above ticket without resolving it stating that they do not support mapbox-gl in third party applications such as Cordova.

chiatt commented 3 years ago

Resolved in latest