addLayer method
Implementation
@override
Future<void> addLayer(String imageLayerId, String imageSourceId,
double? minzoom, double? maxzoom) async {
try {
return await _channel.invokeMethod('style#addLayer', <String, dynamic>{
'imageLayerId': imageLayerId,
'imageSourceId': imageSourceId,
'minzoom': minzoom,
'maxzoom': maxzoom
});
} on PlatformException catch (e) {
return Future.error(e);
}
}