Skip to main content

FeatureStatesBySource

Type Alias FeatureStatesBySource 

Source
pub type FeatureStatesBySource = BTreeMap<String, SourceFeatureStates>;
Expand description

The feature state of a map’s sources, as the map’s updates carry it: by source ID, the state of each source layer’s features, where the empty source layer stands for none. A source without state has no entry. An update shares the state of the sources it leaves alone with the update before.

Aliased Type§

pub struct FeatureStatesBySource { /* private fields */ }