Skip to content

Releases: terrestris/react-geo

v24.0.0-main.9

10 Jun 12:39
Compare
Choose a tag to compare
v24.0.0-main.9 Pre-release
Pre-release

24.0.0-main.9 (2024-06-10)

Features

  • update coordinate button to use the new result value (a41b996)

BREAKING CHANGES

  • The input of the render function 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';

<CoordinateInfo
  resultRenderer={({ features }) => {
    const grouped = groupBy(features, 'featureType');
    const groupedAndMapped = mapValues(grouped, results => results.map(r => r.feature));
    // ...
  }}
/>

v24.0.0-main.8

06 Jun 15:31
Compare
Choose a tag to compare
v24.0.0-main.8 Pre-release
Pre-release

24.0.0-main.8 (2024-06-06)

Bug Fixes

  • use antd css variables to make button active (fe5504a)

BREAKING CHANGES

  • This removes the buttonTransparent property.
    See the example on how to customize the color via the ConfigProvider.

v24.0.0-main.7

06 Jun 15:07
Compare
Choose a tag to compare
v24.0.0-main.7 Pre-release
Pre-release

24.0.0-main.7 (2024-06-06)

Bug Fixes

  • make property grid tighter (1130d6e)

v24.0.0-main.6

04 Jun 16:07
Compare
Choose a tag to compare
v24.0.0-main.6 Pre-release
Pre-release

24.0.0-main.6 (2024-06-04)

Bug Fixes

  • layerswitcher always shows next layer instead of current layer (1350c97)

v24.0.0-main.5

03 Jun 14:00
Compare
Choose a tag to compare
v24.0.0-main.5 Pre-release
Pre-release

24.0.0-main.5 (2024-06-03)

Features

  • unify functionality of WfsField and NominatimField into SearchField (f83539b)

BREAKING CHANGES

  • The WfsField and NominatimField hooks are removed.
    Please check the example for SearchField.

v24.0.0-main.4

28 May 10:09
Compare
Choose a tag to compare
v24.0.0-main.4 Pre-release
Pre-release

24.0.0-main.4 (2024-05-28)

Bug Fixes

  • LayerTree: make contents of title clickable (334e8aa)

v24.0.0-main.3

27 May 12:25
Compare
Choose a tag to compare
v24.0.0-main.3 Pre-release
Pre-release

24.0.0-main.3 (2024-05-27)

Bug Fixes

v24.0.0-main.2

24 May 08:57
Compare
Choose a tag to compare
v24.0.0-main.2 Pre-release
Pre-release

24.0.0-main.2 (2024-05-24)

Bug Fixes

v24.0.0-next.6

23 May 06:19
Compare
Choose a tag to compare
v24.0.0-next.6 Pre-release
Pre-release

24.0.0-next.6 (2024-05-23)

Features

  • allow CoordinateInfo to request Feature Info in json format (18e2a6f)

v24.0.0-main.1

23 May 08:55
Compare
Choose a tag to compare
v24.0.0-main.1 Pre-release
Pre-release

24.0.0-main.1 (2024-05-23)

Bug Fixes

  • adds null check (5a78b77)
  • adjust to breaking changes in latest version of react-util (2711a63)
  • adjust to change Key type in @types/react (261ea52)
  • made use of olInteraction hook (7b0732e)
  • make use of dayjs, don't pass icon prop in LayerTreeNode (c0cffa8)
  • make use of UseMeasureProps (e73bfa7)
  • readd changes that were lost in rebase (f1c758f)
  • remove the DigitizeButton (7cf8263)
  • sets the transparent background to false again (aad694f)
  • simplify regex (106e2c0)

chore

Code Refactoring

  • class to function component (3b13ce1)
  • components FeatureGrid and AgFeatureGrid to function component (ea48bb3)
  • remove deprecated HOC components (ce5bdb7)
  • remove Panel, Window and Titlebar components (c749faa)
  • simplify the ToggleButton and ToggleGroup components (14760f0)

Features

  • add visible option for WfsSearchField (a26f844)
  • adds a flag for transparent background of ToggleButton (ef77c9d)
  • adds a wfs layer and feature-info (#3826) (38dabed)
  • adds the onSuccess callback to CoordinateInfo component (1c0bec3)
  • allow CoordinateInfo to request Feature Info in json format (18e2a6f)
  • combine WfsSearch and WfsSearchInput to WfsSearchField (a88b54b)
  • introduce useNominatim hook (f4c8597)
  • pass through AutoComplete props (698d913)
  • pass through on fetch success callbacks (0b624bd)
  • readd MapComponent, FloatingMapLogo and BackgroundLayerChooser (a32aee4)
  • refactor code into useDraw hook (cd657fe)
  • remove toolbar and user chip component (3fe4ce2)
  • render urls as anchor element (9b63cd2)
  • upgraded ol to v9 (f2bd3d0)
  • use WmsLayer from ol-util instead of react-util (0abde72)
  • use coordinateInfo hook (7dddfce)
  • use useProjFromEpsgIO hook (741851d)
  • use wfs hook (189b0bb)

BREAKING CHANGES

  • removes props map and toggleOnClick
  • share common grid props among all grids
  • make use of new useWfs hook in react-util
  • refactors CoordinateReferenceSystemCombo to use useProjFromEpsgIO for CCRS fetching
  • refactors CoordinateInfo as funnction compononent
  • update ol-util peer dependency
  • The pressed state of the ToggleButton is controlled now
  • Typescript configuration
  • use geolocation hook of react-util
  • the AddWmsLayerEntry accepts a map prop now (required for attributions)
  • These componentes are not available anymore
  • Panel, Window and Titlebar components are not existing anymore
  • mappify, loadify, isVisibleComponent HOCs as well as MapProvider class were removed
  • Removes the deprecated DigitizeButton in favour of the DrawButton