Home Manual Reference Source Repository
import MarkerLayer from 'waves-ui/src/helpers/marker-layer.js'
public class | source

MarkerLayer

Extends:

src/core/layer~Layer → MarkerLayer

Helper to create a marker layer.

example usage

Constructor Summary

Public Constructor
public

constructor(data: Array, options: Object, accessors: Object)

Public Constructors

public constructor(data: Array, options: Object, accessors: Object) source

Params:

NameTypeAttributeDescription
data Array

The data to render.

options Object

An object to configure the layer.

accessors Object

The accessors to configure the mapping between shapes and data.