TraceState

class TraceState(arcGISMap: ArcGISMap, graphicsOverlay: GraphicsOverlay, mapViewProxy: MapViewProxy)

Represents the state for the Trace.

Since

200.6.0

Constructors

Link copied to clipboard
constructor(arcGISMap: ArcGISMap, graphicsOverlay: GraphicsOverlay, mapViewProxy: MapViewProxy)

Properties

Link copied to clipboard

Governs taps on the map. When the mode is AddStartingPointMode.Started taps will identify starting points and pass underlying Features to this object.

Link copied to clipboard

The status of the initialization of the state object.

Functions

Link copied to clipboard
suspend fun addStartingPoint(mapPoint: Point)

A single tap handler to identify starting points on the map. Call this method from com.arcgismaps.toolkit.geoviewcompose.MapView onSingleTapConfirmed lambda.

fun addStartingPoint(arcGISFeature: ArcGISFeature, mapPoint: Point? = null)

Add a starting point for a utility network trace.