dapriett / nativescript-google-maps-sdk

Cross Platform Google Maps SDK for Nativescript
MIT License
244 stars 169 forks source link

Gesture Handling Cooperative #483

Open rubenhr opened 2 years ago

rubenhr commented 2 years ago

I want to see if there's an option to set the gestureHandling option. I have an issue where I need to use two fingers to scroll over the map and single finger for scroll over the screen.

If someone already was able to use two finger scrolling on this, please let me know how to make it work.

Regards

rubenhr commented 2 years ago

Is this plugin still being supported?

nickolanack commented 2 years ago

There is no option available within this library or within the google maps sdks for ios or for android that would enable two finger scrolling (there is two finger rotation). You could possibly disable map scrolling/panning altogether, and programatically scroll/pan on your own two finger gesture recognizer

https://developers.google.com/android/reference/com/google/android/gms/maps/UiSettings https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_u_i_settings