New to Kendo UI for AngularStart a free 30-day trial

Represents the Kendo UI BubbleLayer component for Angular. Displays data as bubbles on vector shape layers for bubble maps.

Definition

Package:@progress/kendo-angular-map

Selector:kendo-map-bubble-layer

Syntax:

TS
@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 }
  ];
}

Inputs

data?

any[]

Sets the array of data items for this layer.

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.

maxSize?

number

Sets the maximum symbol size for bubble layer symbols.

Default:

100

minSize?

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

style?

ShapeOptions

Sets the default style for symbols.

Sets the symbol to use for bubble layers.

Sets the value field for the symbols used to determine their relative size. The data item field should be a number.

Methods

Updates the component fields with the specified values and refreshes the Chart.

Use this method when the configuration values cannot be set through the template.

Parameters:changesany

An object containing the updated input fields.