Skip to content

Release 8.0.0

Compare
Choose a tag to compare
@simonseyock simonseyock released this 06 Jun 14:55
· 210 commits to main since this release

8.0.0 (2024-06-06)

⚠ BREAKING CHANGES

  • The features result of the useCoordinateInfo hook is no longer grouped by featureType but returns an object for each feature that contains the feature, the layer and the feature type.

If you need the grouping, you can do the following

import {groupBy, mapValues} from 'lodash';

const { features } = useCoordinateInfo();

const grouped = groupBy(features, 'featureType');
const groupedAndMapped = mapValues(grouped, results => results.map(r => r.feature));

Features

  • include layer in coordinate info result (11a4c70)