File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -346,6 +346,7 @@ export const setApplicationToStore = async (application?: Application) => {
346346 store . dispatch ( setMapToolbarVisible ( config ?. visible ) ) ;
347347 store . dispatch ( setGeoLocationVisible ( config ?. showGeolocation ) ) ;
348348 } ,
349+ // eslint-disable-next-line camelcase
349350 measure_tools : ( config ) => {
350351 store . dispatch ( setShowSegmentLengths ( config ?. showSegmentLengths ?? false ) ) ;
351352 } ,
Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ import {
2828 useMap
2929} from '@terrestris/react-util/dist/Hooks/useMap/useMap' ;
3030
31+ import useAppSelector from '../../../hooks/useAppSelector' ;
32+
3133import './index.less' ;
32- import useAppSelector from "../../../hooks/useAppSelector" ;
3334
3435interface DefaultMeasureProps {
3536 showMeasureDistance ?: boolean ;
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import layerTree from './layerTree';
2020import legal from './legal' ;
2121import logoPath from './logoPath' ;
2222import mapToolbar from './mapToolbar' ;
23+ import measure from './measure' ;
2324import newsTextIds from './newsText' ;
2425import print from './print' ;
2526import searchEngines from './searchEngines' ;
@@ -31,7 +32,6 @@ import toolMenu from './toolMenu';
3132import uploadDataModal from './uploadDataModal' ;
3233import user from './user' ;
3334import userMenu from './userMenu' ;
34- import measure from './measure' ;
3535
3636export type AsyncReducer = Record < string , Reducer > ;
3737
You can’t perform that action at this time.
0 commit comments