useFeatureQuery
The query for the features inside a shape, or undefined when the host
supplies none. Selecting by shape needs it, so a host without one offers no
such action. Nothing is requested until a user action asks.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useFeatureQuery } from "@mapcairn/map";
function useFeatureQuery(): FeatureQuery | undefined;
Returns
FeatureQuery | undefined