5.20231.904
wijmo.chart.map Class MapLayerBase Wijmo API Class

MapLayerBase Class

Base class for map layers.

Heirarchy

Properties

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 GeoJSON object(s).

map

map: FlexMap

Gets the parent map

style

style: any

Gets or sets the layer's style.

url

url: string

Get or sets the data source url.

Methods

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

Events

itemsSourceChanged

itemsSourceChanged: Event<MapLayerBase, EventArgs>

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