OgcApiProgressiveFeatureLayer¶
Namespace: ThinkGeo.UI.Maui
public class OgcApiProgressiveFeatureLayer : ProgressiveFeatureLayer
Inheritance Object → LayerBase → Layer → FeatureLayer → ProgressiveFeatureLayer → OgcApiProgressiveFeatureLayer
Properties¶
Url¶
The url of OGC API Features server.
public string Url { get; set; }
Property Value¶
BulkSize¶
The url of OGC API Features server.
public int BulkSize { get; set; }
Property Value¶
CollectionId¶
The collection ID in the OGC API Features server.
public string CollectionId { get; set; }
Property Value¶
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¶
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¶
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¶
QueryTools¶
public QueryTools QueryTools { get; protected set; }
Property Value¶
QueryTools
MaxRecordsToDraw¶
public int MaxRecordsToDraw { get; set; }
Property Value¶
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¶
Attribution¶
public string Attribution { get; set; }
Property Value¶
RequestDrawingInterval¶
public TimeSpan RequestDrawingInterval { get; set; }
Property Value¶
Name¶
public string Name { get; set; }
Property Value¶
IsOpen¶
public bool IsOpen { get; }
Property Value¶
IsVisible¶
public bool IsVisible { get; set; }
Property Value¶
DrawingTime¶
public TimeSpan DrawingTime { get; protected set; }
Property Value¶
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¶
BlueTranslation¶
public float BlueTranslation { get; set; }
Property Value¶
RedTranslation¶
public float RedTranslation { get; set; }
Property Value¶
GreenTranslation¶
public float GreenTranslation { get; set; }
Property Value¶
KeyColors¶
public Collection<GeoColor> KeyColors { get; }
Property Value¶
IsNegative¶
public bool IsNegative { get; set; }
Property Value¶
IsGrayscale¶
public bool IsGrayscale { get; set; }
Property Value¶
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;