Skip to main content

SelectedFeature

The feature whose card is open, with its layer.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { SelectedFeature } from "@mapcairn/map";

interface SelectedFeature

Properties​

feature​

readonly feature: LayerFeature;

The loaded feature.

layer​

readonly layer: DataLayerState;

The layer the feature belongs to, with its state.

See also​

Source: packages/map/src/layers/useDataLayers.ts:104