Cleanup (unused imports)

This commit is contained in:
Eric van der Vlist 2023-06-09 17:03:35 +02:00
parent 861717ee18
commit ba09d5ef50
3 changed files with 1 additions and 9 deletions

View File

@ -2,14 +2,11 @@ import OSM from 'ol/source/OSM';
import XYZ from 'ol/source/XYZ';
import { Component, createEffect, createSignal, For, Show } from 'solid-js';
import {
I18nContext,
createI18nContext,
useI18n,
} from '@solid-primitives/i18n';
import style from './MapTileProvider.module.css';
import LayersIcon from '@suid/icons-material/Layers';
import CloseIcon from '@suid/icons-material/Close';
import {
FormControlLabel,
IconButton,

View File

@ -1,23 +1,19 @@
import { Component, createEffect, onMount } from 'solid-js';
import OlMap from 'ol/Map';
import { currentOverlayDefinition, isHighlightedTagType } from '../map-tile-provider';
import { currentOverlayDefinition } from '../map-tile-provider';
import { Feature } from 'ol';
import MVT from 'ol/format/MVT';
import { Point } from 'ol/geom';
import VectorLayer from 'ol/layer/Vector';
import VectorTileLayer from 'ol/layer/VectorTile';
import VectorTileSource from 'ol/source/VectorTile.js';
import WMTSTileGrid from 'ol/tilegrid/WMTS.js';
import Cluster from 'ol/source/Cluster';
import { style } from '../gpx/styles';
import ClusterableVectorTileSourceProxy from '../../lib/ClusterableVectorTileSourceProxy';
import { getMap, getZoomInteger } from '../map/Map';
import { getCenter } from 'ol/extent';
import { Projection } from 'ol/proj';
import { getVectorTileFeatureType } from './overlay-definitions';
import GeoJSON from 'ol/format/GeoJSON.js';
import TopoJSON from 'ol/format/TopoJSON.js';
interface Props {
map: () => OlMap | null;

View File

@ -1,4 +1,3 @@
import { indexOf } from 'lodash';
import { Feature } from 'ol';
import { getTagType } from '../map-tile-provider/MapTileProvider';