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
Using mapbox_gl-0.9.0, it appears that MapboxMapController'saddFill() method has the 'data' parameter but the implementation of addFill() doesn't use the 'data' parameter.
Snippet from /Users/***/flutter/.pub-cache/hosted/pub.dartlang.org/mapbox_gl-0.9.0/lib/src/controller.dart:
Future<Fill> addFill(FillOptions options, [Map data]) async {
final FillOptions effectiveOptions =
FillOptions.defaultOptions.copyWith(options);
final fill = await MapboxGlPlatform.getInstance(_id).addFill(effectiveOptions);
_fills[fill.id] = fill;
notifyListeners();
return fill;
}
I've verified that I can specify the 'data' parameter on addCircle() and later retrieve the value from controller.circles but not so for fills.
I started this project by copying the flutter mapbox example but I've cleared the pub-cache and run flutter clean and run pub get so I dont see how I could have an outdated mapbox plugin, but just in case I've attached output from flutter doctor and a copy of pubspec.yaml.
Using mapbox_gl-0.9.0, it appears that MapboxMapController's addFill() method has the 'data' parameter but the implementation of addFill() doesn't use the 'data' parameter.
Snippet from /Users/***/flutter/.pub-cache/hosted/pub.dartlang.org/mapbox_gl-0.9.0/lib/src/controller.dart:
I've verified that I can specify the 'data' parameter on addCircle() and later retrieve the value from controller.circles but not so for fills.
I started this project by copying the flutter mapbox example but I've cleared the pub-cache and run flutter clean and run pub get so I dont see how I could have an outdated mapbox plugin, but just in case I've attached output from flutter doctor and a copy of pubspec.yaml.
flutter_doctor.txt
pubspec_yaml.txt
The text was updated successfully, but these errors were encountered: