Skip to content

OgcApiProgressiveFeatureLayer

Namespace: ThinkGeo.UI.Maui

public class OgcApiProgressiveFeatureLayer : ProgressiveFeatureLayer

Inheritance Object → LayerBase → Layer → FeatureLayer → ProgressiveFeatureLayerOgcApiProgressiveFeatureLayer

Properties

Url

The url of OGC API Features server.

public string Url { get; set; }

Property Value

String

BulkSize

The url of OGC API Features server.

public int BulkSize { get; set; }

Property Value

Int32

CollectionId

The collection ID in the OGC API Features server.

public string CollectionId { get; set; }

Property Value

String

TimeoutInSeconds

This property specifies the timeout of the web request in seconds. The default timeout value is 20 seconds.

public int TimeoutInSeconds { get; set; }

Property Value

Int32

HasBoundingBox

This property indicates whether a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs.

public bool HasBoundingBox { get; }

Property Value

Boolean

Remarks:

The default value is false.

WebProxy

This property gets or sets the proxy used for requesting a Web Response.

public IWebProxy WebProxy { get; set; }

Property Value

IWebProxy

Projection

public Projection Projection { get; }

Property Value

Projection

EditTools

public EditTools EditTools { get; protected set; }

Property Value

EditTools

FeatureIdsToExclude

public Collection<string> FeatureIdsToExclude { get; }

Property Value

Collection<String>

QueryTools

public QueryTools QueryTools { get; protected set; }

Property Value

QueryTools

MaxRecordsToDraw

public int MaxRecordsToDraw { get; set; }

Property Value

Int32

FeatureSource

public FeatureSource FeatureSource { get; set; }

Property Value

FeatureSource

DrawingQuality

public DrawingQuality DrawingQuality { get; set; }

Property Value

DrawingQuality

ZoomLevelSet

public ZoomLevelSet ZoomLevelSet { get; set; }

Property Value

ZoomLevelSet

DrawingMarginInPixel

public float DrawingMarginInPixel { get; set; }

Property Value

Single

Attribution

public string Attribution { get; set; }

Property Value

String

RequestDrawingInterval

public TimeSpan RequestDrawingInterval { get; set; }

Property Value

TimeSpan

Name

public string Name { get; set; }

Property Value

String

IsOpen

public bool IsOpen { get; }

Property Value

Boolean

IsVisible

public bool IsVisible { get; set; }

Property Value

Boolean

DrawingTime

public TimeSpan DrawingTime { get; protected set; }

Property Value

TimeSpan

DrawingExceptionMode

public DrawingExceptionMode DrawingExceptionMode { get; set; }

Property Value

DrawingExceptionMode

Background

public GeoColor Background { get; set; }

Property Value

GeoColor

Transparency

public float Transparency { get; set; }

Property Value

Single

BlueTranslation

public float BlueTranslation { get; set; }

Property Value

Single

RedTranslation

public float RedTranslation { get; set; }

Property Value

Single

GreenTranslation

public float GreenTranslation { get; set; }

Property Value

Single

KeyColors

public Collection<GeoColor> KeyColors { get; }

Property Value

Collection<GeoColor>

IsNegative

public bool IsNegative { get; set; }

Property Value

Boolean

IsGrayscale

public bool IsGrayscale { get; set; }

Property Value

Boolean

ThreadSafe

public ThreadSafetyLevel ThreadSafe { get; set; }

Property Value

ThreadSafetyLevel

ColorMappings

public Dictionary<GeoColor, GeoColor> ColorMappings { get; }

Property Value

Dictionary<GeoColor, GeoColor>

WrappingMode

public WrappingMode WrappingMode { get; set; }

Property Value

WrappingMode

WrappingExtent

public RectangleShape WrappingExtent { get; set; }

Property Value

RectangleShape

Constructors

OgcApiProgressiveFeatureLayer()

OgcApiFeaturesLayer Constructor.

public OgcApiProgressiveFeatureLayer()

OgcApiProgressiveFeatureLayer(String, String, Int32)

OgcApiFeaturesLayer Constructor

public OgcApiProgressiveFeatureLayer(string url, string collectionId, int bulkSize)

Parameters

url String
The url of OGC API Features server.

collectionId String
The collection ID in the OGC API Features server.

bulkSize Int32
The bulk size of the features the layer will fetch and draw each time

Remarks:

The parameters can not be null.

Methods

GetLayers()

Get layer names(collection ids) from the OGC API Features Layer.

public Collection<string> GetLayers()

Returns

Collection<String>
The collection represent layer names(collection ids).

GetProgressiveFeaturesCore(RectangleShape, Int32)

protected IAsyncEnumerable<Collection<Feature>> GetProgressiveFeaturesCore(RectangleShape boundingBox, int bulkSize)

Parameters

boundingBox RectangleShape

bulkSize Int32

Returns

IAsyncEnumerable<Collection<Feature>>

Events

SendingWebRequest

public event EventHandler<SendingWebRequestEventArgs> SendingWebRequest;

SentWebRequest

public event EventHandler<SentWebRequestEventArgs> SentWebRequest;

DrawingFeatures

public event EventHandler<DrawingFeaturesEventArgs> DrawingFeatures;

DrawingWrappingFeatures

public event EventHandler<DrawingWrappingFeaturesFeatureLayerEventArgs> DrawingWrappingFeatures;

DrawingAttribution

public event EventHandler<DrawingAttributionLayerEventArgs> DrawingAttribution;

DrawnAttribution

public event EventHandler<DrawnAttributionLayerEventArgs> DrawnAttribution;

DrawingProgressChanged

public event EventHandler<DrawingProgressChangedEventArgs> DrawingProgressChanged;

RequestedDrawing

public event EventHandler<RequestedDrawingLayerEventArgs> RequestedDrawing;

RequestingDrawing

public event EventHandler<RequestingDrawingLayerEventArgs> RequestingDrawing;

DrawingException

public event EventHandler<DrawingExceptionLayerEventArgs> DrawingException;

DrawnException

public event EventHandler<DrawnExceptionLayerEventArgs> DrawnException;