@progress/kendo-angular-map
Version:
Kendo UI Map for Angular
41 lines (40 loc) • 1.89 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { CollectionComponent } from '../common/collection.component';
import { CollectionService } from '../common/collection.service';
import { ConfigurationService } from '../common/configuration.service';
import * as i0 from "@angular/core";
/**
* Represents the Kendo UI Layers component for Angular. Contains a collection of one or more map layers.
*
* @example
* ```typescript
* @Component({
* selector: 'my-app',
* template: `
* <kendo-map>
* <kendo-map-layers>
* <kendo-map-tile-layer [urlTemplate]="tileUrl"></kendo-map-tile-layer>
* <kendo-map-shape-layer [data]="shapeData"></kendo-map-shape-layer>
* </kendo-map-layers>
* </kendo-map>
* `
* })
* export class AppComponent {
* public tileUrl = (args: any) => `https://tile.openstreetmap.org/${args.z}/${args.x}/${args.y}.png`;
* public shapeData = [];
* }
* ```
*
* @remarks
* Supported children components are: {@link TileLayerComponent}, {@link ShapeLayerComponent}, {@link BubbleLayerComponent}, {@link MarkerLayerComponent}.
*/
export declare class LayersComponent extends CollectionComponent {
protected configurationService: ConfigurationService;
protected collectionService: CollectionService;
constructor(configurationService: ConfigurationService, collectionService: CollectionService);
static ɵfac: i0.ɵɵFactoryDeclaration<LayersComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<LayersComponent, "kendo-map-layers", never, {}, {}, never, never, true, never>;
}