Function derefLayers
Parameters
- layers: LayerWithRef[]
array of layers, some of which may contain
refproperties whose value is theidof another property
Returns LayerSpecification[]
a new array where such layers have been augmented with the 'type', 'source', etc. properties from the parent layer, and the
refproperty has been removed.- layers: LayerWithRef[]
Was this helpful?
The input is not modified. The output may contain references to portions of the input.