MTPointLayerHelper

class MTPointLayerHelper(style: MTStyle) : MTVectorLayerHelper

Helper for creating a point visualization layer from data and styling options.

This uses the current style to create the underlying source and layers.

Constructors

constructor(style: MTStyle)

Functions

Adds a point layer based on the provided options.

fun addPoint(options: MTPointLayerOptions, colorRamp: MTColorRamp)

Adds a point layer using a color ramp for pointColor.

Apply common defaults to heatmap helper options when not provided.

Apply common defaults to point helper options when not provided.

Apply common defaults to polygon helper options when not provided.

Apply common defaults to polyline helper options when not provided.