Skip to main content

@mapgear/geoapps > BaseLayers > ActivateBaseLayerById

BaseLayers.ActivateBaseLayerById() method

Activate the specified baselayer by the baselayer id

Signature:
ActivateBaseLayerById(baseLayerId: string): void;

Parameters

ParameterTypeDescription
baseLayerIdstringId of the baselayer that is to be activated
Returns:

void