graphicsOverlays property

List<GraphicsOverlay> graphicsOverlays

A collection of GraphicsOverlay objects used to display graphics on top of the view's content.

To display graphics in the GeoViewController, add the graphics to a GraphicsOverlay and add the GraphicsOverlay to this collection. The order of the GraphicsOverlay objects in the collection reflects their display order in the view. The first GraphicsOverlay in the collection is drawn beneath all other graphic overlays.

This collection may be empty but is never null. You can't add duplicate GraphicsOverlay objects to the collection or use this graphics overlay collection in another GeoViewController.

Use methods such as GeoViewController.identifyGraphicsOverlays, to identify graphics in this collection.

Implementation

List<GraphicsOverlay> get graphicsOverlays => _graphicsOverlays.value;