Class StyleLayerInfo
One copied style layer from a style-ordered layer listing.
public sealed record StyleLayerInfo : IEquatable<StyleLayerInfo>
- Inheritance
-
StyleLayerInfo
- Implements
- Inherited Members
Remarks
Type is the style-spec layer type, such as line.
SourceId is null for a layer type that takes no source, and
SourceLayer is null when the layer names no source layer.
Constructors
StyleLayerInfo(string, string, string?, string?)
One copied style layer from a style-ordered layer listing.
public StyleLayerInfo(string Id, string Type, string? SourceId, string? SourceLayer)
Parameters
Remarks
Type is the style-spec layer type, such as line.
SourceId is null for a layer type that takes no source, and
SourceLayer is null when the layer names no source layer.
Properties
Id
public string Id { get; init; }
Property Value
SourceId
public string? SourceId { get; init; }
Property Value
SourceLayer
public string? SourceLayer { get; init; }
Property Value
Type
public string Type { get; init; }