setFlutterMapLayers method

void setFlutterMapLayers(
  1. String layerId,
  2. List<Widget> layers
)

flutter_map layer widgets of layerId, drawn inside the map by platforms that draw it with flutter_map (UnifiedMapsPlatform.supportsFlutterMapLayers) and ignored by the others.

Implementation

void setFlutterMapLayers(String layerId, List<Widget> layers) {
  _flutterMapLayers[layerId] = layers;
  _mark(MapObjectKind.flutterMapLayers);
}