setFeatureState

abstract fun <FS : FeatureState> InteractiveFeature<FS>.setFeatureState(state: FS, callback: FeatureStateOperationCallback = FeatureStateOperationCallback {}): Cancelable

Sets the state map for the InteractiveFeature.

Return

A Cancelable object that could be used to cancel the pending query.

Parameters

state

describes the new state of the map for given InteractiveFeature.

callback

The optional QueryFeatureStateCallback called when the query completes.