- add locate.service.ts, map-cache.service.ts - add mapCache Service to map component - notes
29 lines
No EOL
851 B
TypeScript
29 lines
No EOL
851 B
TypeScript
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';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule, FontAwesomeModule
|
|
],
|
|
declarations: [
|
|
LocateButtonComponent,
|
|
],
|
|
exports: [
|
|
LocateButtonComponent,
|
|
|
|
],
|
|
providers: [
|
|
// LocateService,
|
|
MapCache, LocateService
|
|
]
|
|
})
|
|
export class ComponentsModule { } |