React Geo Versions Save

A set of geo related modules to use in combination with React, Ant Design and OpenLayers.

v24.0.2

2 weeks ago

24.0.2 (2024-06-19)

Bug Fixes

  • CoordinateInfo: update docs and react-util (790e91b)

v24.0.1

2 weeks ago

24.0.1 (2024-06-18)

Bug Fixes

v24.0.0

3 weeks ago

24.0.0 (2024-06-12)

Upgrade Notes: https://github.com/terrestris/react-geo/wiki/Version-24.0.0-Upgrade-Notes

Bug Fixes

  • add build info to readme (#3866) (7b97b95)
  • adds null check (5a78b77)
  • adjust some css nesting, allows for use of the table scroll property without breaking the css (c7cc92c)
  • adjust to breaking changes in latest version of react-util (2711a63)
  • adjust to change Key type in @types/react (261ea52)
  • explicit imports (40af413)
  • layerswitcher always shows next layer instead of current layer (1350c97)
  • LayerTree: make contents of title clickable (334e8aa)
  • made use of olInteraction hook (7b0732e)
  • make property grid tighter (1130d6e)
  • 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)
  • update dependencies (30d9b90)
  • update react-util (536b634)
  • use antd css variables to make button active (fe5504a)

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)
  • unify functionality of WfsField and NominatimField into SearchField (f83539b)
  • update coordinate button to use the new result value (a41b996)
  • 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

  • This removes the buttonTransparent property. See the example on how to customize the color via the ConfigProvider.
  • 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));
    // ...
  }}
/>
  • The WfsField and NominatimField hooks are removed. Please check the example for SearchField.
  • 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

v24.0.0-main.11

3 weeks ago

24.0.0-main.11 (2024-06-12)

Bug Fixes

v24.0.0-main.10

3 weeks ago

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

Bug Fixes

  • adjust some css nesting, allows for use of the table scroll property without breaking the css (c7cc92c)

v24.0.0-main.9

3 weeks ago

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

3 weeks ago

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

3 weeks ago

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

Bug Fixes

  • make property grid tighter (1130d6e)

v24.0.0-main.6

4 weeks ago

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

1 month ago

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.