Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
case 'map#onCameraTrackingChanged':
final int mode = call.arguments['mode'];
print(call);
onCameraTrackingChangedPlatform(MyLocationTrackingMode.values[mode]);
break;
print statement prints out MethodCall(map#onCameraTrackingChanged, {mode: 32}) on android while it should be MethodCall(map#onCameraTrackingChanged, {mode: 3})
The onCameraTrackingChanged does not convert the android type integer back to the matching flutter enum integer.
Because of this onCameraTracking changed cannot be called as the android integers are greater then the amount of types of tracking modes in flutter.
print statement prints out
MethodCall(map#onCameraTrackingChanged, {mode: 32})
on android while it should beMethodCall(map#onCameraTrackingChanged, {mode: 3})