MapObjects constructor

const MapObjects({
  1. Set<Marker> markers = const <Marker>{},
  2. Set<Polygon> polygons = const <Polygon>{},
  3. Set<Polyline> polylines = const <Polyline>{},
  4. Set<Circle> circles = const <Circle>{},
  5. Set<TileOverlay> tileOverlays = const <TileOverlay>{},
  6. Set<ClusterManager> clusterManagers = const <ClusterManager>{},
})

Creates a new set of map objects with all the given object types.

Implementation

const MapObjects({
  this.markers = const <Marker>{},
  this.polygons = const <Polygon>{},
  this.polylines = const <Polyline>{},
  this.circles = const <Circle>{},
  this.tileOverlays = const <TileOverlay>{},
  this.clusterManagers = const <ClusterManager>{},
});