MapZoomPanBehavior enablePanning = false, don't work on web.

setting the

enablePanning

to false in the

MapZoomPanBehavior

don't work on the web. You can still scroll with the mouse wheel when the mouse button is over the map.


I want to achieve just a static google map with a custom polygon on it, as the map is inside a scroll view, the map should not listen to any gestures besides clicks. 

On Android, it works with just disabling panning and pitching. but on the web, only pitching can be disabled. 


4 Replies

YG Yuvaraj Gajaraj Syncfusion Team May 19, 2022 05:26 PM UTC

Hi Matthias,


Greetings from Syncfusion. Currently, we do not have support to control mouse wheel zooming. So, we have considered it as a feature request, and it will be available in our Volume 2 2022 main release. We will update you once the release gets rolled out and we appreciate your patience until then. We have also attached the feedback link below you can track the status here.


Feedback: https://www.syncfusion.com/feedback/35048


Regards,

Yuvaraj.



MK Matthias Koch May 19, 2022 05:51 PM UTC

Hi Yuvaraj.


thank you very much for the reply.

Looking forward to volume 2.




DD Dharanidharan Dharmasivam Syncfusion Team May 22, 2022 02:08 AM UTC

Hi Matthias,

Most welcome, as stated earlier the feature will be available in vol 2 2022 main release and you can track the status of the feature using the feedback for further updates.

Thanks,

Dharani.



YG Yuvaraj Gajaraj Syncfusion Team July 4, 2022 04:37 PM UTC

Hi Matthias,


Thanks for your patience, the reported issue has been fixed and rolled out in our volume 2 main release. To avoid this please upgrade the map package to the latest version below.


Version: https://pub.dev/packages/syncfusion_flutter_maps/versions/20.2.36


Regards,

Yuvaraj.


Loader.
Up arrow icon