Table of Contents

Class StyleSourceInfo

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A source in the map's style.

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

Remarks

See mln_style_source_info in the C API reference.

Properties

Attribution

public string Attribution { get; init; }

Property Value

string

Bounds

public LatLngBounds? Bounds { get; init; }

Property Value

LatLngBounds?

GeoJson

A GeoJSON source's options, with every field set.

public GeoJsonSourceOptions? GeoJson { get; init; }

Property Value

GeoJsonSourceOptions

Id

public string Id { get; init; }

Property Value

string

IsVolatile

public bool IsVolatile { get; init; }

Property Value

bool

RasterEncoding

public StyleRasterDemEncoding? RasterEncoding { get; init; }

Property Value

StyleRasterDemEncoding?

TileJson

The tiles that the style lists in the source itself, instead of at a URL.

public StyleSourceTileInfo? TileJson { get; init; }

Property Value

StyleSourceTileInfo?

TileSize

public uint? TileSize { get; init; }

Property Value

uint?

Type

public StyleSourceType Type { get; init; }

Property Value

StyleSourceType

Url

public string Url { get; init; }

Property Value

string

VectorEncoding

public StyleVectorTileEncoding? VectorEncoding { get; init; }

Property Value

StyleVectorTileEncoding?