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