sdk-maps / com.tomtom.online.sdk.map.style.layers / LayerFactory

LayerFactory

@Beta(2020, 6) open class LayerFactory

A factory class that allows the creation of the style layer with its default options.

Constructors

<init>

LayerFactory()

A factory class that allows the creation of the style layer with its default options.

Functions

createLayer

open static fun createLayer(layerJson: String!): Layer!

Creates a layer based on a provided JSON description.