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
Bounds
public LatLngBounds? Bounds { get; init; }
Property Value
GeoJson
A GeoJSON source's options, with every field set.
public GeoJsonSourceOptions? GeoJson { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
IsVolatile
public bool IsVolatile { get; init; }
Property Value
RasterEncoding
public StyleRasterDemEncoding? RasterEncoding { get; init; }
Property Value
TileJson
The tiles that the style lists in the source itself, instead of at a URL.
public StyleSourceTileInfo? TileJson { get; init; }
Property Value
TileSize
public uint? TileSize { get; init; }
Property Value
- uint?
Type
public StyleSourceType Type { get; init; }
Property Value
Url
public string Url { get; init; }
Property Value
VectorEncoding
public StyleVectorTileEncoding? VectorEncoding { get; init; }