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
Here is the code (just a container with the Mapbox map) :
@override
Widget build(BuildContext context) {
// This method is rerun every time setState is called, for instance as done
// by the _incrementCounter method above.
//
// The Flutter framework has been optimized to make rerunning build methods
// fast, so that you can just rebuild anything that needs updating rather
// than having to individually change instances of widgets.
return Container(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
child: MapboxMap(
accessToken:
'ACCESS_TOKEN',
styleString: 'mapbox://styles/mapbox/outdoors-v10?optimize=true',
initialCameraPosition: const CameraPosition(target: LatLng(0.0, 0.0)),
// attributionButtonMargins: Point(0, 0),
),
);
}
It is weird because when you use 2 fingers you are doing more gestures on the map than with just one.
I precise that it is just an Android issue, iOS is working nice with one finger.
I have a performance issue when the user is moving the map with one finger. The screen start to freeze more and more when the user is dragging the map with one finger. I post a record below :
https://user-images.githubusercontent.com/53431511/157230094-0c9f7f82-cff7-4179-9367-ae5b7199ae8f.mov
Another video when I move the map with two fingers (no freeze issue) :
https://user-images.githubusercontent.com/53431511/157230530-a0ced2e2-580a-42f4-a2ce-4c49106d4602.mov
Here is the code (just a container with the Mapbox map) :
It is weird because when you use 2 fingers you are doing more gestures on the map than with just one.
I precise that it is just an Android issue, iOS is working nice with one finger.
Flutter configuration :
Does someone have an idea on why I have this behaviour ?
The text was updated successfully, but these errors were encountered: