setFeatureState

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

Sets the state map for the FeaturesetFeature.

Return

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

Parameters

state

describes the new state of the map for given FeaturesetFeature.

callback

The optional QueryFeatureStateCallback called when the query completes.