-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #701 from terrestris/remove-type-utils
feat: remove type utils and use the ones from `ol-util`
- Loading branch information
Showing
6 changed files
with
29 additions
and
208 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,21 @@ | ||
import MapContext from './Context/MapContext/MapContext'; | ||
import useAsyncEffect from './Hooks/useAsyncEffect/useAsyncEffect'; | ||
import useDebouncedState from './Hooks/useDebouncedState/useDebouncedState'; | ||
import useDraw from './Hooks/useDraw/useDraw'; | ||
import useDropTargetMap from './Hooks/useDropTargetMap/useDropTargetMap'; | ||
import useGeoLocation from './Hooks/useGeoLocation/useGeoLocation'; | ||
import useMap from './Hooks/useMap/useMap'; | ||
import useModify from './Hooks/useModify/useModify'; | ||
import useObjectState from './Hooks/useObjectState/useObjectState'; | ||
import useOlInteraction from './Hooks/useOlInteraction/useOlInteraction'; | ||
import useOlLayer from './Hooks/useOlLayer/useOlLayer'; | ||
import useOlListener from './Hooks/useOlListener/useOlListener'; | ||
import usePermalink from './Hooks/usePermalink/usePermalink'; | ||
import usePropOrDefault from './Hooks/usePropOrDefault/usePropOrDefault'; | ||
import useSelectFeatures from './Hooks/useSelectFeatures/useSelectFeatures'; | ||
import useTimeLayerAware from './Hooks/useTimeLayerAware/useTimeLayerAware'; | ||
import ClickAwayListener from './Util/ClickAwayListener/ClickAwayListener'; | ||
import DigitizeUtil from './Util/DigitizeUtil'; | ||
import { InkmapPrintSpec } from './Util/InkmapTypes'; | ||
import PrintUtil from './Util/PrintUtil'; | ||
import { isWmsLayer, WmsLayer } from './Util/typeUtils'; | ||
import { zoomTo } from './Util/ZoomUtil'; | ||
|
||
export { | ||
ClickAwayListener, | ||
DigitizeUtil, | ||
InkmapPrintSpec, | ||
isWmsLayer, | ||
MapContext, | ||
PrintUtil, | ||
useAsyncEffect, | ||
useDebouncedState, | ||
useDraw, | ||
useDropTargetMap, | ||
useGeoLocation, | ||
useMap, | ||
useModify, | ||
useObjectState, | ||
useOlInteraction, | ||
useOlLayer, | ||
useOlListener, | ||
usePermalink, | ||
usePropOrDefault, | ||
useSelectFeatures, | ||
useTimeLayerAware, | ||
WmsLayer, | ||
zoomTo | ||
}; | ||
export { default as MapContext } from './Context/MapContext/MapContext'; | ||
export { default as useAsyncEffect } from './Hooks/useAsyncEffect/useAsyncEffect'; | ||
export { default as useDebouncedState } from './Hooks/useDebouncedState/useDebouncedState'; | ||
export { default as useDraw } from './Hooks/useDraw/useDraw'; | ||
export { default as useDropTargetMap } from './Hooks/useDropTargetMap/useDropTargetMap'; | ||
export { default as useGeoLocation } from './Hooks/useGeoLocation/useGeoLocation'; | ||
export { default as useMap } from './Hooks/useMap/useMap'; | ||
export { default as useModify } from './Hooks/useModify/useModify'; | ||
export { default as useObjectState } from './Hooks/useObjectState/useObjectState'; | ||
export { default as useOlInteraction } from './Hooks/useOlInteraction/useOlInteraction'; | ||
export { default as useOlLayer } from './Hooks/useOlLayer/useOlLayer'; | ||
export { default as useOlListener } from './Hooks/useOlListener/useOlListener'; | ||
export { default as usePermalink } from './Hooks/usePermalink/usePermalink'; | ||
export { default as usePropOrDefault } from './Hooks/usePropOrDefault/usePropOrDefault'; | ||
export { default as useSelectFeatures } from './Hooks/useSelectFeatures/useSelectFeatures'; | ||
export { default as useTimeLayerAware } from './Hooks/useTimeLayerAware/useTimeLayerAware'; | ||
export { default as ClickAwayListener } from './Util/ClickAwayListener/ClickAwayListener'; | ||
export { default as DigitizeUtil } from './Util/DigitizeUtil'; | ||
export { InkmapPrintSpec } from './Util/InkmapTypes'; | ||
export { default as PrintUtil } from './Util/PrintUtil'; | ||
export { zoomTo } from './Util/ZoomUtil'; |