4
4
import { linear as linearEasing } from 'ol/easing.js' ;
5
5
import olLayerTile from 'ol/layer/Tile.js' ;
6
6
import olLayerImage from 'ol/layer/Image.js' ;
7
- import { get as getProjection , ProjectionLike , transformExtent } from 'ol/proj.js' ;
7
+ import { get as getProjection , type ProjectionLike , transformExtent } from 'ol/proj.js' ;
8
8
import olSourceImageStatic from 'ol/source/ImageStatic.js' ;
9
9
import olSourceImageWMS from 'ol/source/ImageWMS.js' ;
10
10
import olSourceTileImage from 'ol/source/TileImage.js' ;
@@ -15,8 +15,8 @@ import olcsCoreOLImageryProvider from './core/OLImageryProvider.js';
15
15
import { getSourceProjection } from './util.js' ;
16
16
import MVTImageryProvider from './MVTImageryProvider.js' ;
17
17
import VectorTileLayer from 'ol/layer/VectorTile.js' ;
18
- import { Extent , getCenter as getExtentCenter } from 'ol/extent' ;
19
- import BaseLayer from 'ol/layer/Base' ;
18
+ import { type Extent , getCenter as getExtentCenter } from 'ol/extent.js ' ;
19
+ import BaseLayer from 'ol/layer/Base.js ' ;
20
20
import LayerGroup from 'ol/layer/Group.js' ;
21
21
import type {
22
22
BoundingSphere ,
@@ -32,13 +32,16 @@ import type {
32
32
Scene ,
33
33
SingleTileImageryProvider
34
34
} from 'cesium' ;
35
- import Geometry from 'ol/geom/Geometry' ;
36
- import { Coordinate } from 'ol/coordinate' ;
37
- import Source , { Attribution } from 'ol/source/Source' ;
38
- import Map from 'ol/Map' ;
39
- import Projection from 'ol/proj/Projection' ;
40
- import { Color as OLColor } from 'ol/color'
41
- import View from 'ol/View' ;
35
+ import Geometry from 'ol/geom/Geometry.js' ;
36
+ import type { Coordinate } from 'ol/coordinate.js' ;
37
+ import Source from 'ol/source/Source.js' ;
38
+ // eslint-disable-next-line no-duplicate-imports
39
+ import type { Attribution } from 'ol/source/Source.js' ;
40
+
41
+ import Map from 'ol/Map.js' ;
42
+ import Projection from 'ol/proj/Projection.js' ;
43
+ import type { Color as OLColor } from 'ol/color.js' ;
44
+ import View from 'ol/View.js' ;
42
45
43
46
type CesiumUrlDefinition = {
44
47
url : string ,
0 commit comments