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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
My touch input handling code needs a lot of work. It is very messy and should perhaps be moved into another class.
We also need to add any missing gestures from Google Maps eg fling. We should match their 'feel' so that Android users can pick up and use our map with minimal learning
Finally the two finger rotation gesture is broken.
@ljbade Our of curiosity, is the third-party library we use for gestures necessary? Is it the best? Would it make sense to write our own, smaller, abstracted (open source) one?
@incanus@hollinger, I used it since it seemed well written and didn't have the time back then to roll my own. Since it is used by others I also presumed that it would be more robust than anything I came up with.
Android's support for touch is basically nill other than sending you the messages and leaving you to figure out how to process them into gestures.
They only have basic tap and drag gestures in the Android library, everyone has to either roll their own support for other gestures, or use a 3rd party library
Activity
[-]Tidy up touch on android[/-][+]Tidy up touch on Aandroid[/+]ljbade commentedon Nov 13, 2014
Perhaps we can leverage code from the raster SDK https://github.com/mapbox/mapbox-android-sdk/issues/525
[-]Tidy up touch on Aandroid[/-][+]Tidy up touch on Android[/+]ljbade commentedon Nov 13, 2014
Here is the code https://github.com/mapbox/mapbox-android-sdk/pull/536/files
ljbade commentedon Nov 16, 2014
We need to update to latest code from https://github.com/Almeros/android-gesture-detectors/commits/master
Also should migrate to using this as a gradle dependency
incanus commentedon Nov 17, 2014
@ljbade Our of curiosity, is the third-party library we use for gestures necessary? Is it the best? Would it make sense to write our own, smaller, abstracted (open source) one?
/cc @hollinger
ljbade commentedon Nov 17, 2014
@incanus @hollinger, I used it since it seemed well written and didn't have the time back then to roll my own. Since it is used by others I also presumed that it would be more robust than anything I came up with.
Android's support for touch is basically nill other than sending you the messages and leaving you to figure out how to process them into gestures.
They only have basic tap and drag gestures in the Android library, everyone has to either roll their own support for other gestures, or use a 3rd party library
incanus commentedon Nov 17, 2014
Ok, great @ljbade, that's helpful. I think we might look into hooking up rotation as a good feet-wetter.
ljbade commentedon Nov 17, 2014
Awesome, if you can get this working. Let me know if you can't understand any of the touch code, (I have forgotten parts of it myself :-(
Fix android map rotation. Rotate by degrees rather than radians. Fixe…
incanus commentedon Nov 18, 2014
Woot, awesome having rotation — works great for me.
Enable fling handling code. #553
42 remaining items
tobrun commentedon Jan 19, 2016
A user reached out and gave us some detailed information about Marker click as seen here
tobrun commentedon Sep 21, 2016
Closing, we are looking into improving our currently used dependency from Almeros.