Table of Contents

Class SourceInfo

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

Copied metadata that MapLibre currently retains for a style source.

public sealed record SourceInfo : IEquatable<SourceInfo>
Inheritance
SourceInfo
Implements
Inherited Members

Remarks

TileJson is present for an inline tile source. Raw enum values preserve native values that have no named managed member.

Constructors

SourceInfo(string, SourceType, uint, bool, string?, string?, TileJson?, uint?, VectorTileEncoding?, uint?, RasterDemEncoding?, uint?)

Copied metadata that MapLibre currently retains for a style source.

public SourceInfo(string Id, SourceType Type, uint RawType, bool IsVolatile, string? Attribution, string? Url, TileJson? TileJson, uint? TileSize, VectorTileEncoding? VectorEncoding, uint? RawVectorEncoding, RasterDemEncoding? RasterDemEncoding, uint? RawRasterDemEncoding)

Parameters

Id string
Type SourceType
RawType uint
IsVolatile bool
Attribution string
Url string
TileJson TileJson
TileSize uint?
VectorEncoding VectorTileEncoding?
RawVectorEncoding uint?
RasterDemEncoding RasterDemEncoding?
RawRasterDemEncoding uint?

Remarks

TileJson is present for an inline tile source. Raw enum values preserve native values that have no named managed member.

Properties

Attribution

public string? Attribution { get; init; }

Property Value

string

Id

public string Id { get; init; }

Property Value

string

IsVolatile

public bool IsVolatile { get; init; }

Property Value

bool

RasterDemEncoding

public RasterDemEncoding? RasterDemEncoding { get; init; }

Property Value

RasterDemEncoding?

RawRasterDemEncoding

public uint? RawRasterDemEncoding { get; init; }

Property Value

uint?

RawType

public uint RawType { get; init; }

Property Value

uint

RawVectorEncoding

public uint? RawVectorEncoding { get; init; }

Property Value

uint?

TileJson

public TileJson? TileJson { get; init; }

Property Value

TileJson

TileSize

public uint? TileSize { get; init; }

Property Value

uint?

Type

public SourceType Type { get; init; }

Property Value

SourceType

Url

public string? Url { get; init; }

Property Value

string

VectorEncoding

public VectorTileEncoding? VectorEncoding { get; init; }

Property Value

VectorTileEncoding?