Closed 78Ronin78 closed 9 months ago
Hello!
Please provide an more concrete example. gestureRecognizers
options is used to specify which gesture this map should consume.
For example like this:
YandexMap(
gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{
Factory<OneSequenceGestureRecognizer>(() => EagerGestureRecognizer())
}
)
Hello, I'm making a food delivery app and implementing label selection in the delivery area. However, the card only recognizes one PanGestureRecouncer gesture event - onDown. Other events have no effect. Code my map:
`YandexMap( key: mapKey, fastTapEnabled: true, gestureRecognizers: <Factory>[
Factory(() =>
_panGestureRecognizer
..onUpdate = ((details) => print('гавно'))),
].toSet(),
onMapCreated: (YandexMapController yandexMapController) async {
mapControllerCompleter.complete(yandexMapController);
await _fetchCurrentLocation();