MapTilerSDK
addLayer
Adds a layer to the map.
Parameters
layer
Layer to be added.
Throws
if layer with the same id is already added to the map.