Function 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).

Prototype

auto LayerData getLayer(
  string name
);

Parameters

NameDescription
name name of layer to find

Returns

Layer matching name

Authors

rcorre

Copyright

Copyright © 2015, Ryan Roden-Corrent

License

MIT