add

open fun add(layerID: String, layerHost: CustomLayerHost)
  • Performs additional setup for a layer after it has been added to the map, which may be necessary for some third-party mapping libraries.

Parameters

layer

Layer that was added to the map.

relativeTo

Identifier of an existing layer that the new layer was added relative to.