resetFeatureStates

fun resetFeatureStates(sourceLayerId: String): Boolean(source)

Removes all feature state entries from the given source layer.

Return

true if the source is attached to a map and the update was dispatched

Parameters

sourceLayerId

the source layer id