- add npm packages: "@fortawesome/angular-fontawesome, @fortawesome/fontawesome-svg-core, @fortawesome/free-solid-svg-icons

- add locate.service.ts, map-cache.service.ts
- add mapCache Service to map component
- notes
This commit is contained in:
Arno Kaimbacher 2021-09-08 14:40:57 +02:00
commit feab502c1d
21 changed files with 239 additions and 36 deletions

View file

@ -17,9 +17,9 @@ import { HttpService } from "./services/http.service";
import { StationService } from "./services/station.service";
import { MessagesComponent } from './messages/messages.component';
import { MessageService } from "./services/message.service";
// import { HelgolandMapModule } from '@helgoland/map';
// import { LocateService } from '@helgoland/map';
import { MapCache } from '../common/components/services/map-cache.service';
// import { LocateService } from '@helgoland/map';
// import { MapCache } from '@helgoland/map';
// siehe https://52north.github.io/helgoland-toolbox/additional-documentation/how-tos/integrate-a-map-component.html
// https://52north.github.io/helgoland-toolbox/components/LocateControlComponent.html#source
@ -28,6 +28,7 @@ import { MessageService } from "./services/message.service";
// DatasetApiInterface, ApiV3InterfaceService, SplittedDataDatasetApiInterface, DatasetApiV3Connector, HelgolandServicesConnector
// } from '@helgoland/core';
// import { HelgolandCoreModule } from "@helgoland/core";
// import { HelgolandMapModule } from '@helgoland/map';
// import 'core-js';
@ -37,7 +38,7 @@ import { MessageService } from "./services/message.service";
// imports: Other modules whose exported classes are needed by component templates declared in this NgModule.
imports: [BrowserModule, HttpClientModule, AppRoutingModule, ComponentsModule],
providers: [
MarkerService, PopupService, HttpService, DatasetApiService, StationService, MessageService
MarkerService, PopupService, HttpService, DatasetApiService, StationService, MessageService, MapCache
// {
// provide: DatasetApiInterface,
// useClass: SplittedDataDatasetApiInterface,