BikeOttawa / maps.bikeottawa.ca-frontend

Static frontend for maps.bikeottawa.ca
https://maps.bikeottawa.ca
15 stars 10 forks source link

Issue 10 isochrone touch #33

Open DeathByDenim opened 2 years ago

DeathByDenim commented 2 years ago

This should close #10 .

It replaces the draggable bike marker with the Mapbox GL one. So instead of custom code that only works with mouse pointers, it works now on iOS, Android, and other mobile devices.

For iOS Safari, and additional tweak was required to prevent the bouncy end-of-scrolling effect which would throw off the marker location calculations in MapBox.