- 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
parent df3561235d
commit feab502c1d
21 changed files with 239 additions and 36 deletions

View file

@ -1,12 +1,18 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
// import { HelgolandCoreModule } from '@helgoland/core';
// import { HelgolandMapModule } from '@helgoland/map';
import { LocateButtonComponent } from './locate-button/locate-button.component';
// import { LocateService } from '@helgoland/map';
// import { MapCache } from '@helgoland/map';
import { MapCache } from './services/map-cache.service';
import { LocateService } from './services/locate.service';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
// import { HelgolandMapModule, LocateService } from '@helgoland/map';
@NgModule({
imports: [
CommonModule,
CommonModule, FontAwesomeModule
],
declarations: [
LocateButtonComponent,
@ -15,7 +21,9 @@ import { LocateButtonComponent } from './locate-button/locate-button.component';
LocateButtonComponent,
],
providers: [
providers: [
// LocateService,
MapCache, LocateService
]
})
export class ComponentsModule { }