rememberLocationDisplay

inline fun rememberLocationDisplay(key: Any? = null, crossinline init: LocationDisplay.() -> Unit = {}): LocationDisplay

Create and remember a LocationDisplay. Checks that ArcGISEnvironment.applicationContext is set and if not, sets one. init will be called when the LocationDisplay is first created to configure its initial state.

Since

200.4.0

Parameters

key

invalidates the remembered LocationDisplay if different from the previous composition

init

called when the LocationDisplay is created to configure its initial state