MapData.getLayer

Fetch a map layer by its name. No check for layers with duplicate names is performed. Throws if no layer has a matching name (case-sensitive).

struct MapData
getLayer
(
string name
)

Parameters

name string

name of layer to find

Return Value

Type: auto

Layer matching name

Meta