@progress/kendo-angular-map
Version:
Kendo UI Map for Angular
84 lines (83 loc) • 3.46 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 { BubbleLayerOptions, BubbleLayerSymbol } 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 BubbleLayer component for Angular. Displays data as bubbles on vector shape layers for bubble maps.
*
* @example
* ```typescript
* @Component({
* selector: 'my-app',
* template: `
* <kendo-map>
* <kendo-map-bubble-layer
* [data]="bubbleData"
* locationField="location"
* valueField="population"
* [maxSize]="50"
* [minSize]="10">
* </kendo-map-bubble-layer>
* </kendo-map>
* `
* })
* export class AppComponent {
* public bubbleData = [
* { location: [40.7128, -74.0060], population: 8000000 }
* ];
* }
* ```
*
* @remarks
* Supported children components are: {@link BubbleTooltipComponent}.
*/
export declare class BubbleLayerComponent extends LayerComponent implements BubbleLayerOptions {
protected configurationService: ConfigurationService;
protected collectionService: CollectionService;
protected sanitizer: DomSanitizer;
/**
* Sets the array of data items for this layer.
*/
data?: any[];
/**
* Sets the data item field which contains the symbol location.
* The field should be an array with two numbers — latitude and longitude in decimal degrees.
*/
locationField?: string;
/**
* Sets the value field for the symbols used to determine their relative size.
* The data item field should be a number.
*/
valueField?: string;
/**
* Sets the symbol to use for bubble layers.
*/
symbol?: BubbleLayerSymbol;
/**
* Sets the default style for symbols.
*/
style?: ShapeOptions;
/**
* Sets the maximum symbol size for bubble layer symbols.
*
* @default 100
*/
maxSize?: number;
/**
* Sets the minimum symbol size for bubble layer symbols.
* Setting a non-zero value will distort the symbol area to value ratio.
*
* @default 0
*/
minSize?: number;
constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleLayerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleLayerComponent, "kendo-map-bubble-layer", never, { "data": { "alias": "data"; "required": false; }; "locationField": { "alias": "locationField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "style": { "alias": "style"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; }, {}, never, never, true, never>;
}