What is the bug?
Since v4 I was able to create a marker which contained a GestureDetector as builder output. This GestureDetector included an onPanUpdate event which I used to enable dragging functionality. It worked fine a long time.
Now I upgraded FlutterMap to v5 and it came out, that exactly this event is not called anymore. Funny: All other events can be called as onTap or even onVerticalDragUpdate.
Do you have an idea what changed and how could I restore this feature?
How can we reproduce it?
FlutterMap(
children: [
MarkerLayer(
markers: [
Marker(
point: myPoint,
builder: (context) => GestureDetector(
onTap: () {
// WORKS
},
onPanUpdate: (details) {
// DOES NOT WORK ANYMORE
},
child: myIcon
)
)
]
)
]
)
Do you have a potential solution?
No response
Platforms
Android, web, iOS
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
What is the bug?
Since v4 I was able to create a marker which contained a GestureDetector as builder output. This GestureDetector included an onPanUpdate event which I used to enable dragging functionality. It worked fine a long time.
Now I upgraded FlutterMap to v5 and it came out, that exactly this event is not called anymore. Funny: All other events can be called as
onTapor evenonVerticalDragUpdate.Do you have an idea what changed and how could I restore this feature?
How can we reproduce it?
Do you have a potential solution?
No response
Platforms
Android, web, iOS
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console