From b70e3850971824f17a006a56d0883dd4a30acb88 Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Fri, 6 Sep 2024 13:38:48 +0200 Subject: [PATCH] Fix import @farmmaps/ng-openlayers --- projects/common-map/src/fm-map/common-map.module.ts | 2 +- .../aol/file-drop-target/file-drop-target.component.ts | 2 +- .../components/aol/gps-location/gps-location.component.ts | 2 +- .../fm-map/components/aol/item-layers/item-layers.component.ts | 2 +- .../aol/item-vector-source/item-vector-source.component.ts | 2 +- .../components/aol/layer-values/layer-values.component.ts | 2 +- .../aol/layer-vector-image/layer-vector-image.component.ts | 2 +- .../components/aol/pan-to-location/pan-to-location.component.ts | 2 +- .../components/aol/rotation-reset/rotation-reset.component.ts | 2 +- .../components/aol/zoom-to-extent/zoom-to-extent.component.ts | 2 +- .../components/if-zoom-to-show/if-zoom-to-show.directive.ts | 2 +- projects/common-map3d/src/fm-map3d/common-map3d.module.ts | 2 +- .../fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/projects/common-map/src/fm-map/common-map.module.ts b/projects/common-map/src/fm-map/common-map.module.ts index 64b5178..32d68c8 100644 --- a/projects/common-map/src/fm-map/common-map.module.ts +++ b/projects/common-map/src/fm-map/common-map.module.ts @@ -6,7 +6,7 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { NgbModule } from "@ng-bootstrap/ng-bootstrap"; import { EffectsModule } from '@ngrx/effects'; import { ActionReducer, MetaReducer, StoreModule } from '@ngrx/store'; -import { AngularOpenlayersModule } from 'ng-openlayers'; +import { AngularOpenlayersModule } from '@farmmaps/ng-openlayers'; //common modules import { AppCommonModule } from '@farmmaps/common'; diff --git a/projects/common-map/src/fm-map/components/aol/file-drop-target/file-drop-target.component.ts b/projects/common-map/src/fm-map/components/aol/file-drop-target/file-drop-target.component.ts index 43d76af..2670a0d 100644 --- a/projects/common-map/src/fm-map/components/aol/file-drop-target/file-drop-target.component.ts +++ b/projects/common-map/src/fm-map/components/aol/file-drop-target/file-drop-target.component.ts @@ -1,5 +1,5 @@ import { Component, Input, OnDestroy, OnInit, EventEmitter, Output, Inject } from '@angular/core'; -import { MapComponent } from 'ng-openlayers'; +import { MapComponent } from '@farmmaps/ng-openlayers'; import * as proj from 'ol/proj'; import {Point,Geometry} from 'ol/geom'; diff --git a/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.ts b/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.ts index af1dceb..63c79a9 100644 --- a/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.ts +++ b/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit, Input, ViewChild, ElementRef, OnChanges, SimpleChanges ,Host} from '@angular/core'; -import { MapComponent } from 'ng-openlayers'; +import { MapComponent } from '@farmmaps/ng-openlayers'; import Overlay from 'ol/Overlay'; import { fromLonLat, toLonLat } from 'ol/proj'; diff --git a/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts b/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts index 70ebf60..6ee91ab 100644 --- a/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts +++ b/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts @@ -1,5 +1,5 @@ import { Component, Host, Input, Output, EventEmitter,OnDestroy, OnInit, OnChanges, SimpleChanges, forwardRef } from '@angular/core'; -import { LayerGroupComponent, MapComponent } from 'ng-openlayers'; +import { LayerGroupComponent, MapComponent } from '@farmmaps/ng-openlayers'; import { ItemService,IItem,AppConfig } from '@farmmaps/common'; import { IItemLayer, ITemporalItemLayer} from '../../../models/item.layer'; import { ILayerData} from '../../../models/layer.data'; diff --git a/projects/common-map/src/fm-map/components/aol/item-vector-source/item-vector-source.component.ts b/projects/common-map/src/fm-map/components/aol/item-vector-source/item-vector-source.component.ts index 1c4a260..82b6377 100644 --- a/projects/common-map/src/fm-map/components/aol/item-vector-source/item-vector-source.component.ts +++ b/projects/common-map/src/fm-map/components/aol/item-vector-source/item-vector-source.component.ts @@ -1,5 +1,5 @@ import { Component, Host, Input, Output, EventEmitter, OnInit, OnChanges, SimpleChanges, forwardRef, Inject, InjectionToken, OnDestroy, LOCALE_ID } from '@angular/core'; -import { LayerVectorComponent, SourceVectorComponent, MapComponent } from 'ng-openlayers'; +import { LayerVectorComponent, SourceVectorComponent, MapComponent } from '@farmmaps/ng-openlayers'; import { ItemService, ItemTypeService, IItem, IItemType, FolderService } from '@farmmaps/common'; import { Feature } from 'ol'; diff --git a/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.ts b/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.ts index c56e989..7b27768 100644 --- a/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.ts +++ b/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.ts @@ -3,7 +3,7 @@ import { IItemLayer } from '../../../models/item.layer'; import { Store } from '@ngrx/store'; import * as mapReducers from '../../../reducers/map.reducer'; import * as mapActions from '../../../actions/map.actions'; -import { MapComponent } from 'ng-openlayers'; +import { MapComponent } from '@farmmaps/ng-openlayers'; import { ILayervalue } from '../../../models/layer.value'; import { Observable, interval, Subject } from 'rxjs'; import { debounce, throttle } from 'rxjs/operators'; diff --git a/projects/common-map/src/fm-map/components/aol/layer-vector-image/layer-vector-image.component.ts b/projects/common-map/src/fm-map/components/aol/layer-vector-image/layer-vector-image.component.ts index d05467f..3148f2e 100644 --- a/projects/common-map/src/fm-map/components/aol/layer-vector-image/layer-vector-image.component.ts +++ b/projects/common-map/src/fm-map/components/aol/layer-vector-image/layer-vector-image.component.ts @@ -1,5 +1,5 @@ import { Component, OnDestroy, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core'; -import { LayerVectorComponent, MapComponent } from 'ng-openlayers'; +import { LayerVectorComponent, MapComponent } from '@farmmaps/ng-openlayers'; import RenderType from 'ol/layer/Vector'; import { Vector as VectorSource } from 'ol/source'; import { Geometry } from 'ol/geom'; diff --git a/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.ts b/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.ts index 969f367..3fb0dcc 100644 --- a/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.ts +++ b/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit, Input, Host, OnChanges, SimpleChanges,ChangeDetectorRef } from '@angular/core'; -import { MapComponent } from 'ng-openlayers'; +import { MapComponent } from '@farmmaps/ng-openlayers'; import {IMapState} from '../../../models/map.state' import {View} from 'ol'; import { fromLonLat } from 'ol/proj'; diff --git a/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.ts b/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.ts index 621c3d9..8600c57 100644 --- a/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.ts +++ b/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.ts @@ -1,5 +1,5 @@ import { Component, Host, Input, OnInit, ChangeDetectorRef } from '@angular/core'; -import { ViewComponent, MapComponent } from 'ng-openlayers'; +import { ViewComponent, MapComponent } from '@farmmaps/ng-openlayers'; import {View} from 'ol'; diff --git a/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts b/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts index dbf361f..ff7ceaa 100644 --- a/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts +++ b/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts @@ -1,6 +1,6 @@ import { Component, Host, Input, OnInit, OnChanges, SimpleChanges, forwardRef } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; -import { ViewComponent, MapComponent } from 'ng-openlayers'; +import { ViewComponent, MapComponent } from '@farmmaps/ng-openlayers'; @Component({ diff --git a/projects/common-map/src/fm-map/components/if-zoom-to-show/if-zoom-to-show.directive.ts b/projects/common-map/src/fm-map/components/if-zoom-to-show/if-zoom-to-show.directive.ts index 6f8eba8..6a502f4 100644 --- a/projects/common-map/src/fm-map/components/if-zoom-to-show/if-zoom-to-show.directive.ts +++ b/projects/common-map/src/fm-map/components/if-zoom-to-show/if-zoom-to-show.directive.ts @@ -1,7 +1,7 @@ import { Directive, ViewContainerRef,TemplateRef,OnInit,Input, OnChanges } from '@angular/core'; import { Layer } from 'ol/layer'; import { Source } from 'ol/source'; -import { MapComponent } from 'ng-openlayers'; +import { MapComponent } from '@farmmaps/ng-openlayers'; @Directive({ selector: '[fmMapIfZoomToShow]', diff --git a/projects/common-map3d/src/fm-map3d/common-map3d.module.ts b/projects/common-map3d/src/fm-map3d/common-map3d.module.ts index 22873be..e0158f3 100644 --- a/projects/common-map3d/src/fm-map3d/common-map3d.module.ts +++ b/projects/common-map3d/src/fm-map3d/common-map3d.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { AppCommonModule } from '@farmmaps/common'; import { AppCommonMapModule } from '@farmmaps/common-map'; -import { AngularOpenlayersModule } from 'ng-openlayers'; +import { AngularOpenlayersModule } from '@farmmaps/ng-openlayers'; import { Switch2D3DComponent } from './components/olcs/switch2d3d/switch2d3d.component'; @NgModule({ diff --git a/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts index e5b81a7..32c899f 100644 --- a/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts +++ b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit,Input,Host } from '@angular/core'; import { Interaction} from 'ol/interaction'; -import { MapComponent } from 'ng-openlayers'; +import { MapComponent } from '@farmmaps/ng-openlayers'; import OLCesium from 'olcs/OLCesium'; import RasterSynchronizer from 'olcs/RasterSynchronizer'; import VectorSynchronizer from 'olcs/VectorSynchronizer';