Cleanup (unused imports)
This commit is contained in:
parent
861717ee18
commit
ba09d5ef50
|
@ -2,14 +2,11 @@ import OSM from 'ol/source/OSM';
|
||||||
import XYZ from 'ol/source/XYZ';
|
import XYZ from 'ol/source/XYZ';
|
||||||
import { Component, createEffect, createSignal, For, Show } from 'solid-js';
|
import { Component, createEffect, createSignal, For, Show } from 'solid-js';
|
||||||
import {
|
import {
|
||||||
I18nContext,
|
|
||||||
createI18nContext,
|
|
||||||
useI18n,
|
useI18n,
|
||||||
} from '@solid-primitives/i18n';
|
} from '@solid-primitives/i18n';
|
||||||
|
|
||||||
import style from './MapTileProvider.module.css';
|
import style from './MapTileProvider.module.css';
|
||||||
import LayersIcon from '@suid/icons-material/Layers';
|
import LayersIcon from '@suid/icons-material/Layers';
|
||||||
import CloseIcon from '@suid/icons-material/Close';
|
|
||||||
import {
|
import {
|
||||||
FormControlLabel,
|
FormControlLabel,
|
||||||
IconButton,
|
IconButton,
|
||||||
|
|
|
@ -1,23 +1,19 @@
|
||||||
import { Component, createEffect, onMount } from 'solid-js';
|
import { Component, createEffect, onMount } from 'solid-js';
|
||||||
import OlMap from 'ol/Map';
|
import OlMap from 'ol/Map';
|
||||||
|
|
||||||
import { currentOverlayDefinition, isHighlightedTagType } from '../map-tile-provider';
|
import { currentOverlayDefinition } from '../map-tile-provider';
|
||||||
import { Feature } from 'ol';
|
import { Feature } from 'ol';
|
||||||
import MVT from 'ol/format/MVT';
|
|
||||||
import { Point } from 'ol/geom';
|
import { Point } from 'ol/geom';
|
||||||
import VectorLayer from 'ol/layer/Vector';
|
import VectorLayer from 'ol/layer/Vector';
|
||||||
import VectorTileLayer from 'ol/layer/VectorTile';
|
import VectorTileLayer from 'ol/layer/VectorTile';
|
||||||
import VectorTileSource from 'ol/source/VectorTile.js';
|
import VectorTileSource from 'ol/source/VectorTile.js';
|
||||||
import WMTSTileGrid from 'ol/tilegrid/WMTS.js';
|
|
||||||
import Cluster from 'ol/source/Cluster';
|
import Cluster from 'ol/source/Cluster';
|
||||||
import { style } from '../gpx/styles';
|
import { style } from '../gpx/styles';
|
||||||
import ClusterableVectorTileSourceProxy from '../../lib/ClusterableVectorTileSourceProxy';
|
import ClusterableVectorTileSourceProxy from '../../lib/ClusterableVectorTileSourceProxy';
|
||||||
import { getMap, getZoomInteger } from '../map/Map';
|
import { getMap, getZoomInteger } from '../map/Map';
|
||||||
import { getCenter } from 'ol/extent';
|
import { getCenter } from 'ol/extent';
|
||||||
import { Projection } from 'ol/proj';
|
|
||||||
import { getVectorTileFeatureType } from './overlay-definitions';
|
import { getVectorTileFeatureType } from './overlay-definitions';
|
||||||
import GeoJSON from 'ol/format/GeoJSON.js';
|
import GeoJSON from 'ol/format/GeoJSON.js';
|
||||||
import TopoJSON from 'ol/format/TopoJSON.js';
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
map: () => OlMap | null;
|
map: () => OlMap | null;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import { indexOf } from 'lodash';
|
|
||||||
import { Feature } from 'ol';
|
import { Feature } from 'ol';
|
||||||
import { getTagType } from '../map-tile-provider/MapTileProvider';
|
import { getTagType } from '../map-tile-provider/MapTileProvider';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue