Struct OfflineGeometryRegionDefinition
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
An offline region that covers a GeoJSON geometry.
public readonly record struct OfflineGeometryRegionDefinition : IEquatable<OfflineGeometryRegionDefinition>
- Implements
- Inherited Members
Remarks
The members other than geometry mean the same as those of
OfflineTilePyramidRegionDefinition.
See mln_offline_geometry_region_definition in the C API reference.
Constructors
OfflineGeometryRegionDefinition()
public OfflineGeometryRegionDefinition()
OfflineGeometryRegionDefinition(string, string, double, double, float, bool)
[SetsRequiredMembers]
public OfflineGeometryRegionDefinition(string StyleUrl, string Geometry, double MinZoom, double MaxZoom, float PixelRatio, bool IncludeIdeographs)
Parameters
StyleUrlstringGeometrystringMinZoomdoubleMaxZoomdoublePixelRatiofloatIncludeIdeographsbool
Properties
Geometry
public required string Geometry { get; init; }
Property Value
IncludeIdeographs
public bool IncludeIdeographs { get; init; }
Property Value
MaxZoom
public double MaxZoom { get; init; }
Property Value
MinZoom
public double MinZoom { get; init; }
Property Value
PixelRatio
public float PixelRatio { get; init; }
Property Value
StyleUrl
public string StyleUrl { get; init; }