addImageSource method
Implementation
@override
Future<void> addImageSource(
String name, Uint8List bytes, LatLngQuad coordinates) async {
try {
return await _channel
.invokeMethod('style#addImageSource', <String, Object>{
"name": name,
"bytes": bytes,
"length": bytes.length,
"coordinates": coordinates.toList()
});
} on PlatformException catch (e) {
return new Future.error(e);
}
}