getLayers(): string[] | null

Get the layer names.

returnsThe layer names or null if not set.

sincev3001.1

experimentalThis feature is in experimental phase, it will be fully released in v3001.1