ShownSelection
A selected reference whose feature can be shown, with the definition of the layer that holds it.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { ShownSelection } from "@mapcairn/map";
interface ShownSelection
Properties
definition
readonly definition: LayerDefinition;
The definition of the layer that holds the feature.
feature
readonly feature: LayerFeature;
The loaded feature.
ref
readonly ref: FeatureRef;
The layer and feature ids that were selected.
status
readonly status: "shown";
Always shown; tells it from a HiddenSelection.