setFlutterMapLayers method

void setFlutterMapLayers(
  1. List<Widget> layers
)

Replaces the flutter_map layer widgets this layer draws inside the map when host.supportsFlutterMapLayers; ignored on native maps.

Implementation

void setFlutterMapLayers(List<Widget> layers) => host.registry.setFlutterMapLayers(layerId, layers);