MapControllerUpdate

data class MapControllerUpdate(val oldState: MapControllerState? = null, val newState: MapControllerState, val createPoiLayers: Boolean = true, val createPolygonsLayers: Boolean = true)

Represents a state update from the map controller.

Emitted via MapController.uiStateSharedFlow when the map state changes. Contains both old and new states for diffing, plus flags indicating what changed.

Constructors

Link copied to clipboard
constructor(oldState: MapControllerState? = null, newState: MapControllerState, createPoiLayers: Boolean = true, createPolygonsLayers: Boolean = true)

Properties

Link copied to clipboard

Whether POI layers should be recreated

Link copied to clipboard

Whether polygon layers should be recreated

Link copied to clipboard

The current/new state

Link copied to clipboard

The previous state (null for initial emission)