diff --git a/projects/ng-openlayers/src/lib/sources/imagewms.component.ts b/projects/ng-openlayers/src/lib/sources/imagewms.component.ts index 286a770..3f2a3f3 100644 --- a/projects/ng-openlayers/src/lib/sources/imagewms.component.ts +++ b/projects/ng-openlayers/src/lib/sources/imagewms.component.ts @@ -16,7 +16,7 @@ import { ProjectionLike } from 'ol/proj'; import { AttributionLike } from 'ol/source/Source'; import { LoadFunction } from 'ol/Image'; import { ImageSourceEvent } from 'ol/source/Image'; -import { ServerType } from 'ol/source/WMSServerType'; +import { ServerType } from 'ol/source/wms'; @Component({ selector: 'aol-source-imagewms', diff --git a/projects/ng-openlayers/src/lib/sources/tilewms.component.ts b/projects/ng-openlayers/src/lib/sources/tilewms.component.ts index 702f393..9068ed4 100644 --- a/projects/ng-openlayers/src/lib/sources/tilewms.component.ts +++ b/projects/ng-openlayers/src/lib/sources/tilewms.component.ts @@ -4,7 +4,7 @@ import { SourceComponent } from './source.component'; import { TileWMS } from 'ol/source'; import TileGrid from 'ol/tilegrid/TileGrid'; import { LoadFunction } from 'ol/Tile'; -import { ServerType } from 'ol/source/WMSServerType'; +import { ServerType } from 'ol/source/wms'; @Component({ selector: 'aol-source-tilewms',