addLayerBelow method

  1. @override
Future<void> addLayerBelow(
  1. String imageLayerId,
  2. String imageSourceId,
  3. String belowLayerId
)
override

Implementation

@override
Future<void> addLayerBelow(
    String imageLayerId, String imageSourceId, String belowLayerId) async {
  try {
    return await _channel
        .invokeMethod('style#addLayerBelow', <String, Object>{
      'imageLayerId': imageLayerId,
      'imageSourceId': imageSourceId,
      'belowLayerId': belowLayerId
    });
  } on PlatformException catch (e) {
    return new Future.error(e);
  }
}