remove unused imports
This commit is contained in:
@ -7,7 +7,7 @@ import { IRectCoords, SatelliteMapsProvider } from '../../interfaces/map'
|
|||||||
import { Extent, getCenter } from 'ol/extent'
|
import { Extent, getCenter } from 'ol/extent'
|
||||||
import { highlightStyleRed, highlightStyleYellow } from './MapStyles'
|
import { highlightStyleRed, highlightStyleYellow } from './MapStyles'
|
||||||
import { customMapSource, googleMapsSatelliteSource, yandexMapsSatelliteSource } from './MapSources'
|
import { customMapSource, googleMapsSatelliteSource, yandexMapsSatelliteSource } from './MapSources'
|
||||||
import { Geometry, SimpleGeometry } from 'ol/geom'
|
import { Geometry } from 'ol/geom'
|
||||||
import { fromExtent } from 'ol/geom/Polygon'
|
import { fromExtent } from 'ol/geom/Polygon'
|
||||||
import { Coordinate } from 'ol/coordinate'
|
import { Coordinate } from 'ol/coordinate'
|
||||||
import { addInteractions, getFeatureByEntityId, handleImageDrop, loadFeatures, processFigure, processLine, zoomToFeature } from './mapUtils'
|
import { addInteractions, getFeatureByEntityId, handleImageDrop, loadFeatures, processFigure, processLine, zoomToFeature } from './mapUtils'
|
||||||
@ -75,7 +75,7 @@ const MapComponent = ({
|
|||||||
polygonExtent, rectCoords, draw, snap, translate,
|
polygonExtent, rectCoords, draw, snap, translate,
|
||||||
drawingLayerSource,
|
drawingLayerSource,
|
||||||
satLayer, staticMapLayer, figuresLayer, linesLayer,
|
satLayer, staticMapLayer, figuresLayer, linesLayer,
|
||||||
regionsLayer, districtBoundLayer, baseLayer, districtsLayer,
|
regionsLayer, districtBoundLayer, districtsLayer,
|
||||||
printAreaDraw, statusText, statusTextPosition, regionSelect, districtSelect
|
printAreaDraw, statusText, statusTextPosition, regionSelect, districtSelect
|
||||||
} = useMapStore().id[id]
|
} = useMapStore().id[id]
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@ import PasswordReset from "../pages/auth/PasswordReset";
|
|||||||
import ComponentTest from "../pages/ComponentTest";
|
import ComponentTest from "../pages/ComponentTest";
|
||||||
import MonitorPage from "../pages/MonitorPage";
|
import MonitorPage from "../pages/MonitorPage";
|
||||||
import Settings from "../pages/Settings";
|
import Settings from "../pages/Settings";
|
||||||
import Main from "../pages/Main";
|
|
||||||
import Users from "../pages/Users";
|
import Users from "../pages/Users";
|
||||||
import Roles from "../pages/Roles";
|
import Roles from "../pages/Roles";
|
||||||
import Documents from "../pages/Documents";
|
import Documents from "../pages/Documents";
|
||||||
@ -17,7 +16,7 @@ import PrintReport from "../pages/PrintReport";
|
|||||||
import DBManager from "../pages/DBManager";
|
import DBManager from "../pages/DBManager";
|
||||||
import MapLineTest from "../components/map/MapLineTest";
|
import MapLineTest from "../components/map/MapLineTest";
|
||||||
import FuelPage from "../pages/Fuel";
|
import FuelPage from "../pages/Fuel";
|
||||||
import { Building24Color, Cloud24Color, Database24Color, Document24Color, Form24Color, Home24Color, Map24Filled, Map24Regular, PeopleList24Color, Shield24Color } from "@fluentui/react-icons"
|
import { Building24Color, Cloud24Color, Database24Color, Document24Color, Form24Color, Map24Filled, Map24Regular, PeopleList24Color, Shield24Color } from "@fluentui/react-icons"
|
||||||
|
|
||||||
// Определение страниц с путями и компонентом для рендера
|
// Определение страниц с путями и компонентом для рендера
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user