Table of Contents

Class StyleLayerInfo

Namespace
Maplibre.NativeFfi.Style
Assembly
Maplibre.NativeFfi.dll

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

Id string
Type string
SourceId string
SourceLayer string

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

string

SourceId

public string? SourceId { get; init; }

Property Value

string

SourceLayer

public string? SourceLayer { get; init; }

Property Value

string

Type

public string Type { get; init; }

Property Value

string