addFills method
Adds multiple fills to the map, configured using the specified custom
options
.
Change listeners are notified once the fills has been added on the platform side.
The returned Future completes with the added fills once listeners have been notified.
Implementation
Future<List<Fill>> addFills(List<FillOptions> options,
[List<Map>? data]) async {
final circles = await _mapboxGlPlatform.addFills(options, data);
circles.forEach((f) => _fills[f.id] = f);
notifyListeners();
return circles;
}