addFillExtrusionLayer method
Future<void>
addFillExtrusionLayer(
- String sourceId,
- String layerId,
- Map<
String, dynamic> properties, { - String? belowLayerId,
- String? sourceLayer,
- double? minzoom,
- double? maxzoom,
- dynamic filter,
- required bool enableInteraction,
override
Implementation
@override
Future<void> addFillExtrusionLayer(
String sourceId, String layerId, Map<String, dynamic> properties,
{String? belowLayerId,
String? sourceLayer,
double? minzoom,
double? maxzoom,
dynamic filter,
required bool enableInteraction}) async {
await _channel.invokeMethod('fillExtrusionLayer#add', <String, dynamic>{
'sourceId': sourceId,
'layerId': layerId,
'belowLayerId': belowLayerId,
'sourceLayer': sourceLayer,
'minzoom': minzoom,
'maxzoom': maxzoom,
'filter': jsonEncode(filter),
'enableInteraction': enableInteraction,
'properties': properties
.map((key, value) => MapEntry<String, String>(key, jsonEncode(value)))
});
}