Skip to content

ProgressiveFeatureLayer

Namespace: ThinkGeo.UI.Maui

Provides a base feature layer that streams data in progressive batches.

public abstract class ProgressiveFeatureLayer : ThinkGeo.Core.FeatureLayer, ThinkGeo.Core.IFeatureLayer

Inheritance object → LayerBase → Layer → FeatureLayer → ProgressiveFeatureLayer
Implements IFeatureLayer

Properties

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

int

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

LabelDisplayMode

public LabelDisplayMode LabelDisplayMode { get; set; }

Property Value

LabelDisplayMode

DrawingMarginInPixel

public float DrawingMarginInPixel { get; set; }

Property Value

float

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

bool

IsVisible

public bool IsVisible { get; set; }

Property Value

bool

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

float

BlueTranslation

public float BlueTranslation { get; set; }

Property Value

float

RedTranslation

public float RedTranslation { get; set; }

Property Value

float

GreenTranslation

public float GreenTranslation { get; set; }

Property Value

float

KeyColors

public Collection<GeoColor> KeyColors { get; }

Property Value

Collection<GeoColor>

IsNegative

public bool IsNegative { get; set; }

Property Value

bool

IsGrayscale

public bool IsGrayscale { get; set; }

Property Value

bool

HasBoundingBox

public bool HasBoundingBox { get; }

Property Value

bool

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

Methods

GetProgressiveFeatures(RectangleShape, int)

Retrieves features within the specified bounding box in batches.

public IAsyncEnumerable<Collection<Feature>> GetProgressiveFeatures(RectangleShape boundingBox, int bulkSize)

Parameters

boundingBox RectangleShape
The request extent.

bulkSize int
The number of features to fetch per batch.

Returns

IAsyncEnumerable<Collection<Feature>>
An asynchronous sequence of feature collections.

GetProgressiveFeaturesCore(RectangleShape, int)

When overridden, retrieves progressive feature batches from the native coordinate system.

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

Parameters

projectedBoundingBox RectangleShape
The bounding box in the feature source coordinate system.

bulkSize int
The number of features to fetch per batch.

Returns

IAsyncEnumerable<Collection<Feature>>
An asynchronous sequence of feature collections.

Events

DrawingFeatures

public event EventHandler<DrawingFeaturesEventArgs> DrawingFeatures;

DrawingWrappingFeatures

public event EventHandler<DrawingWrappingFeaturesFeatureLayerEventArgs> DrawingWrappingFeatures;

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;