Constructor.
Definitions the collection shall consist of.
Iterates all contained LayerDefinition. Use this to get hold of all LayerDefinition instances the collection consists of.
Gets the LayerDefinition instance with the same id. If no such instance is found then `LayerDefinition.notFound is returned.
Id of layer definition to get.
Layer instance.
StaticcopyCopies the layer definitions defined by layerDefinitions to the dst.availableLayerDefinitions property.
Layer definitions to copy to dst.availableLayerDefinitions.
Object to assign property on.
Reference to dst.
StaticfromCreates a LayerDefinitions instance for a Record<string, { permission_str: string }> lookup where
the properties are the layer ids. This is how a LayerDefinitions instance is represented in JSON.
Optionalsrc: LayerDefinitionsDTOSource to copy from.
change with converted property.
Represents a collection of LayerDefinition instances.