dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_HelgolandMapControlModule cluster_HelgolandMapControlModule_declarations cluster_HelgolandMapControlModule_imports cluster_HelgolandMapControlModule_exports cluster_HelgolandMapControlModule_providers BoolTogglerComponent BoolTogglerComponent HelgolandMapControlModule HelgolandMapControlModule BoolTogglerComponent->HelgolandMapControlModule RefreshButtonComponent RefreshButtonComponent RefreshButtonComponent->HelgolandMapControlModule StringTogglerComponent StringTogglerComponent StringTogglerComponent->HelgolandMapControlModule BoolTogglerComponent BoolTogglerComponent HelgolandMapControlModule->BoolTogglerComponent RefreshButtonComponent RefreshButtonComponent HelgolandMapControlModule->RefreshButtonComponent StringTogglerComponent StringTogglerComponent HelgolandMapControlModule->StringTogglerComponent HelgolandCoreModule HelgolandCoreModule HelgolandCoreModule->HelgolandMapControlModule HelgolandMapModule HelgolandMapModule HelgolandMapModule->HelgolandMapControlModule LocateService LocateService LocateService->HelgolandMapControlModule

File

libs/map/src/lib/control/module.ts

Description

The map controls module includes the following functionality:

  • different controls for map components
  • locate control
  • zoom control
  • geo search control
  • extent control

import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HelgolandCoreModule } from '@helgoland/core';

import { HelgolandMapModule } from '../base/map.module';
import { ExtentControlComponent } from './extent/extent.component';
import { GeosearchControlComponent } from './geosearch/geosearch.component';
import { LocateControlComponent } from './locate/locate.component';
import { LocateService } from './locate/locate.service';
import { ZoomControlComponent } from './zoom/zoom.component';

const COMPONENTS = [
  LocateControlComponent,
  ZoomControlComponent,
  GeosearchControlComponent,
  ExtentControlComponent
];

/**
 * The map controls module includes the following functionality:
 * - different controls for map components
 * - locate control
 * - zoom control
 * - geo search control
 * - extent control
 */
@NgModule({
  declarations: [
    COMPONENTS
  ],
  imports: [
    CommonModule,
    FormsModule,
    HelgolandCoreModule,
    HelgolandMapModule
  ],
  exports: [
    COMPONENTS
  ],
  providers: [
    LocateService
  ]
})
export class HelgolandMapControlModule { }

result-matching ""

    No results matching ""