5.20231.904
wijmo.chart.map Class ScatterMapLayer Wijmo API Class

ScatterMapLayer Class

Represents scatter map layer.

The data for ScatterMapLayer is a collection of points in geographical coordinates.

Heirarchy

Constructors

constructor

  • Initializes a new instance of the ScatterMapLayer class.

    Parameters

    • Optional options: any

      A JavaScript object containing initialization data for the layer.

    Returns ScatterMapLayer

Properties

binding

binding: string

Gets or sets the binding for the layer.

The binding can include two comma-separated property names (longitude and latitude) 'lon,lat' or a single property name that contain a pair of geographical coordinates.

colorScale

colorScale: ColorScale

Gets or sets color scale used for fill layer's items.

itemsSource

itemsSource: any

Gets or sets a data source for the layer.

Data source should be a collection of objects that provides geographical coordinates (longitude and latitude). Object property or properties which contains coordinates are specified by binding property.

map

map: FlexMap

Gets the parent map

style

style: any

Gets or sets the layer's style.

symbolMaxSize

symbolMaxSize: number

Gets or sets the maximal symbol size.

For bubble plot.

symbolMinSize

symbolMinSize: number

Gets or sets the minimal symbol size.

For bubble plot.

symbolSize

symbolSize: number

Gets or sets the symbol size.

url

url: string

Get or sets the data source url.

Methods

getGeoBBox

  • getGeoBBox(): Rect
  • Gets the layer bounds in geo coordinates.

    Returns Rect

initialize

  • initialize(options: any): void
  • Initializes the series by copying the properties from a given object.

    Parameters

    • options: any

      JavaScript object containing initialization data for the series.

    Returns void

onItemsSourceChanged

render

  • render(e: IRenderEngine, t: SVGTransform, group: SVGGElement): any
  • Renders the layer.

    Parameters

    • e: IRenderEngine

      Render engine.

    • t: SVGTransform

      Svg transformation.

    • group: SVGGElement

      SVG group element for the layer.

    Returns any

Events

itemsSourceChanged

itemsSourceChanged: Event<MapLayerBase, EventArgs>

Occurs after the layer has been bound to a new items source.