- npm updates
- add map-view.component (instead of initializing the map component inside app component)- - add custom zoom control
This commit is contained in:
parent
feab502c1d
commit
53a9cfa0d4
21 changed files with 3322 additions and 3799 deletions
|
|
@ -6,6 +6,7 @@ import { AppRoutingModule } from './app-routing.module';
|
|||
import { AppComponent } from './app.component';
|
||||
import { MapComponent } from './map/map.component';
|
||||
import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { MapViewComponent } from "./views/map-view/map-view.component";
|
||||
|
||||
import { ComponentsModule } from '../../src/common/components/components.module';
|
||||
|
||||
|
|
@ -17,7 +18,7 @@ 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 { MapCache } from '../common/components/services/map-cache.service';
|
||||
import { MapService } from '../common/components/services/map.service';
|
||||
// import { LocateService } from '@helgoland/map';
|
||||
// import { MapCache } from '@helgoland/map';
|
||||
|
||||
|
|
@ -34,11 +35,11 @@ import { MapCache } from '../common/components/services/map-cache.service';
|
|||
|
||||
@NgModule({
|
||||
// declarations: The components, directives, and pipes that belong to this NgModule.
|
||||
declarations: [AppComponent, MapComponent, DashboardComponent, MessagesComponent],
|
||||
declarations: [AppComponent, MapComponent, DashboardComponent, MessagesComponent, MapViewComponent],
|
||||
// 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, MapCache
|
||||
MarkerService, PopupService, HttpService, DatasetApiService, StationService, MessageService, MapService
|
||||
// {
|
||||
// provide: DatasetApiInterface,
|
||||
// useClass: SplittedDataDatasetApiInterface,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue