@progress/kendo-angular-map
Version:
Kendo UI Map for Angular
53 lines (52 loc) • 2.28 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 { DomSanitizer } from '@angular/platform-browser';
import { ShapeLayerOptions } from '@progress/kendo-charts';
import { ShapeOptions } from '@progress/kendo-drawing';
import { CollectionService } from '../common/collection.service';
import { ConfigurationService } from '../common/configuration.service';
import { LayerComponent } from './layer.component';
import * as i0 from "@angular/core";
/**
* Represents the Kendo UI ShapeLayer component for Angular. Defines a vector shape layer bound to GeoJSON data.
*
* @example
* ```typescript
* @Component({
* selector: 'my-app',
* template: `
* <kendo-map>
* <kendo-map-shape-layer
* [data]="geoJsonData"
* [style]="shapeStyle">
* </kendo-map-shape-layer>
* </kendo-map>
* `
* })
* export class AppComponent {
* public geoJsonData = { type: "FeatureCollection", features: [] };
* public shapeStyle = { fill: { color: "#007acc" }, stroke: { color: "#ffffff" } };
* }
* ```
*
* @remarks
* Supported children components are: {@link ShapeTooltipComponent}.
*/
export declare class ShapeLayerComponent extends LayerComponent implements ShapeLayerOptions {
protected configurationService: ConfigurationService;
protected collectionService: CollectionService;
protected sanitizer: DomSanitizer;
/**
* Sets the array of data items for this layer.
*/
data?: any;
/**
* Sets the default style for shapes.
*/
style?: ShapeOptions;
constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
static ɵfac: i0.ɵɵFactoryDeclaration<ShapeLayerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ShapeLayerComponent, "kendo-map-shape-layer", never, { "data": { "alias": "data"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>;
}