Skip to content

Latest commit

 

History

History
461 lines (233 loc) · 19.9 KB

File metadata and controls

461 lines (233 loc) · 19.9 KB

12.4.4 (2026-04-01)

Bug Fixes

  • pass layer / layerId directly to getResultsFromImageLayers (a09b766)

12.4.3 (2026-04-01)

Bug Fixes

  • infinite reload issues (c9eef83)
  • use toReversed instead of reverse (157327e)

12.4.2 (2026-03-31)

Bug Fixes

  • a bug that prevents queries for multiple layers (8648ac1)
  • fix issues with duplicated requests (05d61ac)
  • simplify getUidmapping function (1341c00)
  • update featureResults hook (175d961)
  • use useOlListener to get updated view resolution (608fbb1)

12.4.1 (2026-03-11)

Bug Fixes

  • structured clone can't be used for all properties of OlFeature (54667ca)

12.4.0 (2026-03-10)

Bug Fixes

  • add missing onError and onSuccess handlers (d99f20d)
  • import of wmts source (f202c3d)
  • use structuredClone instead of cloneDeep (0925db5)

Features

  • useCoordinateInfo: support WMTS layer type and abort controllers (b68dcc7)

12.3.2 (2026-02-11)

Bug Fixes

12.3.1 (2025-11-11)

Bug Fixes

  • improve geolocation handling and error management (1422bc1)

12.3.0 (2025-10-23)

Bug Fixes

Features

  • useMeasure: add segment length to currently drawn line (074e77c)

12.2.0 (2025-10-23)

Features

  • useMeasure: add option to show lengths of segments (c937e30)

12.1.1 (2025-05-21)

Bug Fixes

  • use non-barrel imports for geometry classes from ol (f7c90ac)

12.1.0 (2025-04-14)

Features

12.0.0 (2025-04-10)

Bug Fixes

  • typings changed in OpenLayers 10.5.0 (9cfdc91)

Features

  • inkmap: introduce extent property for constrained prints (20c57a2)

BREAKING CHANGES

  • inkmap: Numerous properties of print functions have been moved to a new type PrintSpec

11.0.1 (2025-03-24)

Bug Fixes

  • deps: bump OpenLayers to version 10.4.0 (5113794)

11.0.0 (2025-03-21)

Bug Fixes

  • adds id property as fallback (8d467a8)
  • prevent map zoom on double click (0568f1c)
  • return pixel coordinate as well (018b66a)

Features

  • adds possibility to define click event (5dfd664)
  • coodinateInfo: adds pointerrest and functions for layerfilter and infoFormat (9c3ff7b)
  • support WMSGetFeatureInfo format as well (e.g. msGMLOutput) (8009ad0)

BREAKING CHANGES

  • coodinateInfo: queryLayers is replaced by layerFilter and fix info format by function

10.1.1 (2025-03-19)

Bug Fixes

  • adds quickselect to transformIgnorePatterns (49bfdfd)
  • linting error exhaustive check for switch (14b51b6)
  • linting issues (79602de)

10.1.0 (2025-02-28)

Features

  • add configurable GML version selection and fallback (bd36fe8)

10.0.1 (2024-10-24)

Bug Fixes

  • rename to cjs file since project is defined as module (1af2036)

10.0.0 (2024-10-21)

chore

BREAKING CHANGES

  • upgrade eslint to v9

9.0.0 (2024-09-20)

chore

BREAKING CHANGES

  • required peer dependency for ol is >= 10 now

8.0.5 (2024-06-19)

Bug Fixes

  • useCoordinateInfo: clone before setting state (766dfe6)
  • useCoordinateInfo: propagate state (85fb3d8)
  • useCoordinateInfo: remove return and use continue (0cd2bc7)

8.0.4 (2024-06-17)

Bug Fixes

  • useCoordinateInfo: do not use loading state in hook where it is used (685bcd5)

8.0.3 (2024-06-12)

Bug Fixes

  • cleanup tooltips also when the containing component gets removed (0aa866b)
  • missing semicolon (6e5da12)

8.0.2 (2024-06-10)

Bug Fixes

  • remove functions from dependency lists that normally change on every render (30d8e5b)

8.0.1 (2024-06-10)

Bug Fixes

  • add eslint react linting and fix warnings about dependency lists (89e70e2)
  • add react hooks eslint plugin & fix dependencies (1d521c3)
  • remove defaultFunc from dependencies of usePropOrDefault (f10b2b2)

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)

7.0.0 (2024-06-03)

⚠ BREAKING CHANGES

  • The useWfs and useNominatim hooks are removed. You can instead now use the useSearch hook with the needed search functions for example like this:
const [searchTerm, setSearchTerm] = useState<string>('');
const searchFunction = useCallback(createNominatimSearchFunction({}), []);
const {
  featureCollection,
  loading
} = useSearch(searchFunction, searchTerm);

Features

  • unify functionality of useWfs and useNominatim into on useSearch hook (9d37d20)

6.0.2 (2024-05-27)

Bug Fixes

  • remove conditional hook calls (8c3c222)

6.0.1 (2024-05-27)

Bug Fixes

6.0.0 (2024-05-24)

⚠ BREAKING CHANGES

  • switch to es2022 build

Code Refactoring

5.2.0 (2024-05-22)

Features

  • allow CoordinateInfo to request Feature Info in json format (8ddc8b9)

5.1.0 (2024-05-15)

Features

  • add onFetchSuccess callbacks to useWfs and useNominatim (8f9bae4)

5.0.0 (2024-05-14)

⚠ BREAKING CHANGES

  • removes the wms layer type utils. These live now in ol-util

Features

  • remove type utils and use the ones from ol-util (bf62700)

5.0.0-beta.1 (2024-05-06)

Features

5.0.0-beta.0 (2024-05-06)

⚠ BREAKING CHANGES

  • the removed components have been moved to react-geo

Features

Bug Fixes

  • include the style (6e1aaae)
  • restore display of selected layer in preview (c3c72d1)
  • several styling and functional issues (06e98d8)

Code Refactoring

4.0.0 (2024-04-30)

4.0.0-beta.4 (2024-04-04)

⚠ BREAKING CHANGES

  • ol 9 is now the minimum required peer version

Miscellaneous Chores

  • update peer dependencies (c57370c)

4.0.0-beta.3 (2024-03-11)

Features

Bug Fixes

  • null check for searchConfig (29f0797)
  • set features and loading state to init values for empty search term (4cb06b7)

4.0.0-beta.2 (2024-02-29)

Features

  • introduce useCoordinateInfoHook (45a132a)
  • introduce useNominatim hook (db4375b)
  • introduce useProjFromEpsgIO hook (8cf5fb2)

Bug Fixes

  • adds missing inkmap dependency (83eb5c5)
  • remove @types-react from peer-dependencies (0cebe8b)
  • use async function call and return CoordinateInfoResult directly (894cd83)

4.0.0-beta.1 (2024-02-16)

⚠ BREAKING CHANGES

  • ol 8.2.0 is now the minimum required peer version

Features

  • add zoomTo util function (e3fb4ee)

Bug Fixes

  • typings of digitize layer (51e301e)

Miscellaneous Chores

4.0.0-beta.0 (2023-10-26)

⚠ BREAKING CHANGES

  • imports must be adjusted
  • imports must be adjusted
  • removed all HOCs in favour of hooks
  • updates several hook export paths

Features

Bug Fixes

  • export all default exports (b184210)
  • harmonize hooks files/folders (6eae470)
  • hide the layer depending on the active status and add NaN check (2508d21)
  • list required peer dependencies (17ec6ff)
  • place components in dedicated subdirectory (8c9bc29)
  • rename hooks directory to Hooks (36597a2)
  • replace react-geo statics with react-util (8fb8353)
  • set correct import paths (6472a3a)
  • update doc (9157002)

3.0.0 (2023-09-19)

Features

  • useModify hook (786610e)
  • add support vor mapbox vector tiles (52a6982)
  • create useSelectFeatures and usePropOrDefault hooks (c0df0ed)
  • introduce useGeoLocation hook (db0bc0d)
  • refactor code into useDraw hook (920f823)

Bug Fixes

  • add docs regarding vector tile layer support (459fdcc)
  • clear collection on deactivate (605cb90)
  • fix prepublish script (68a95fe)