Release 7.0.0
7.0.0 (2024-06-03)
⚠ BREAKING CHANGES
- The
useWfs
anduseNominatim
hooks are removed. You can instead now use theuseSearch
hook with the needed search functions for example like this:
const [searchTerm, setSearchTerm] = useState<string>('');
const searchFunction = useMemo(() => createNominatimSearchFunction({}), []);
const {
featureCollection,
loading
} = useSearch(searchFunction, searchTerm);
Features
- unify functionality of useWfs and useNominatim into on useSearch hook (9d37d20)