dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
GeoJSONLayerView Class
Represents the LayerView of a GeoJSONLayer
after it has been added to a Map in either a MapView or
SceneView.
ArcGIS Maps SDK for JavaScript
public class GeoJSONLayerView : dymaptic.GeoBlazor.Core.Components.LayerView,
dymaptic.GeoBlazor.Core.Interfaces.IHighlightLayerViewMixin,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 LayerView 🡒 GeoJSONLayerView
Implements IHighlightLayerViewMixin, IMapComponent
Constructors
GeoJSONLayerView() Constructor
Parameterless constructor for use as a Razor Component.
public GeoJSONLayerView();
GeoJSONLayerView(FeatureEffect, FeatureFilter, HighlightOptions, Nullable, Nullable, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public GeoJSONLayerView(dymaptic.GeoBlazor.Core.Components.FeatureEffect? featureEffect=null, dymaptic.GeoBlazor.Core.Components.FeatureFilter? filter=null, dymaptic.GeoBlazor.Core.Components.HighlightOptions? highlightOptions=null, System.Nullable<double> maximumNumberOfFeatures=null, System.Nullable<bool> maximumNumberOfFeaturesExceeded=null, System.Nullable<bool> visible=null);
Parameters
featureEffect
FeatureEffect
The featureEffect can be used to draw attention features of interest.
ArcGIS Maps SDK for JavaScript
filter
FeatureFilter
The attribute,
geometry,
and time extent
filter.
ArcGIS Maps SDK for JavaScript
highlightOptions
HighlightOptions
Options for configuring the highlight.
ArcGIS Maps SDK for JavaScript
maximumNumberOfFeatures
System.Nullable<System.Double>
The maximum number of features that can be displayed at a time.
ArcGIS Maps SDK for JavaScript
maximumNumberOfFeaturesExceeded
System.Nullable<System.Boolean>
Signifies whether the maximum number of features has been exceeded.
ArcGIS Maps SDK for JavaScript
visible
System.Nullable<System.Boolean>
When true
, the layer is visible in the view.
default true
ArcGIS Maps SDK for JavaScript
Properties
GeoJSONLayerView.AvailableFields Property
A list of attribute fields fetched for each feature including fields required for layer’s renderer
labelingInfo
, elevationInfo
, and additional fields defined on the outFields
properties.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<string>? AvailableFields { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>
GeoJSONLayerView.DataUpdating Property
Indicates if the layer view is updating its data and new features are being fetched.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> DataUpdating { get; set; }
Property Value
System.Nullable<System.Boolean>
GeoJSONLayerView.FeatureEffect Property
The featureEffect can be used to draw attention features of interest.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.FeatureEffect? FeatureEffect { get; set; }
Property Value
GeoJSONLayerView.Filter Property
The attribute,
geometry,
and time extent
filter.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.FeatureFilter? Filter { get; set; }
Property Value
GeoJSONLayerView.HasAllFeatures Property
Indicates whether the layer view contains all available features from the service.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> HasAllFeatures { get; set; }
Property Value
System.Nullable<System.Boolean>
GeoJSONLayerView.HasAllFeaturesInView Property
Indicates whether the layer view has all the features available in the current view.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> HasAllFeaturesInView { get; set; }
Property Value
System.Nullable<System.Boolean>
GeoJSONLayerView.HasFullGeometries Property
Indicates whether the layer view has geometries at full resolution.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> HasFullGeometries { get; set; }
Property Value
System.Nullable<System.Boolean>
GeoJSONLayerView.HighlightOptions Property
Options for configuring the highlight.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.HighlightOptions? HighlightOptions { get; set; }
Implements HighlightOptions
Property Value
GeoJSONLayerView.MaximumNumberOfFeatures Property
The maximum number of features that can be displayed at a time.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MaximumNumberOfFeatures { get; set; }
Property Value
System.Nullable<System.Double>
GeoJSONLayerView.MaximumNumberOfFeaturesExceeded Property
Signifies whether the maximum number of features has been exceeded.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> MaximumNumberOfFeaturesExceeded { get; set; }
Property Value
System.Nullable<System.Boolean>
GeoJSONLayerView.Type Property
Identifies the layer view type.
public override System.Nullable<dymaptic.GeoBlazor.Core.Enums.LayerType> Type { get; }
Property Value
Methods
GeoJSONLayerView.GetAvailableFields() Method
Asynchronously retrieve the current value of the AvailableFields property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> GetAvailableFields();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.String>>
GeoJSONLayerView.GetDataUpdating() Method
Asynchronously retrieve the current value of the DataUpdating property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetDataUpdating();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
GeoJSONLayerView.GetFeatureEffect() Method
Asynchronously retrieve the current value of the FeatureEffect property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.FeatureEffect?> GetFeatureEffect();
Returns
System.Threading.Tasks.Task<FeatureEffect>
GeoJSONLayerView.GetFilter() Method
Asynchronously retrieve the current value of the Filter property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.FeatureFilter?> GetFilter();
Returns
System.Threading.Tasks.Task<FeatureFilter>
GeoJSONLayerView.GetHasAllFeatures() Method
Asynchronously retrieve the current value of the HasAllFeatures property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetHasAllFeatures();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
GeoJSONLayerView.GetHasAllFeaturesInView() Method
Asynchronously retrieve the current value of the HasAllFeaturesInView property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetHasAllFeaturesInView();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
GeoJSONLayerView.GetHasFullGeometries() Method
Asynchronously retrieve the current value of the HasFullGeometries property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetHasFullGeometries();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
GeoJSONLayerView.GetHighlightOptions() Method
Asynchronously retrieve the current value of the HighlightOptions property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.HighlightOptions?> GetHighlightOptions();
Implements GetHighlightOptions()
Returns
System.Threading.Tasks.Task<HighlightOptions>
GeoJSONLayerView.GetMaximumNumberOfFeatures() Method
Asynchronously retrieve the current value of the MaximumNumberOfFeatures property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMaximumNumberOfFeatures();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
GeoJSONLayerView.GetMaximumNumberOfFeaturesExceeded() Method
Asynchronously retrieve the current value of the MaximumNumberOfFeaturesExceeded property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetMaximumNumberOfFeaturesExceeded();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
GeoJSONLayerView.Highlight(Graphic) Method
Highlights the given feature(s).
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Handle> Highlight(dymaptic.GeoBlazor.Core.Components.Graphic graphic);
Parameters
graphic
Graphic
The Graphic to highlight.
Implements Highlight(Graphic)
Returns
System.Threading.Tasks.Task<Handle>
A handle that allows the highlight to be removed later.
Exceptions
System.InvalidOperationException
Throws if the graphic has no OBJECTID attribute and was not queried via GeoBlazor.
GeoJSONLayerView.Highlight(ObjectId) Method
Highlights the given feature(s).
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Handle> Highlight(dymaptic.GeoBlazor.Core.Model.ObjectId objectId);
Parameters
objectId
ObjectId
The ObjectID of the graphic to highlight.
Implements Highlight(ObjectId)
Returns
System.Threading.Tasks.Task<Handle>
A handle that allows the highlight to be removed later.
GeoJSONLayerView.Highlight(IReadOnlyCollection) Method
Highlights the given feature(s).
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Handle> Highlight(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic> graphics);
Parameters
graphics
System.Collections.Generic.IReadOnlyCollection<Graphic>
The graphics to highlight.
Implements Highlight(IReadOnlyCollection<Graphic>)
Returns
System.Threading.Tasks.Task<Handle>
A handle that allows the highlight to be removed later.
Exceptions
System.InvalidOperationException
Throws if the graphics have no OBJECTID attribute and were not queried via GeoBlazor.
GeoJSONLayerView.Highlight(IReadOnlyCollection) Method
Highlights the given feature(s).
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Handle> Highlight(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Model.ObjectId> objectIds);
Parameters
objectIds
System.Collections.Generic.IReadOnlyCollection<ObjectId>
The ObjectIDs of the graphics to highlight.
Implements Highlight(IReadOnlyCollection<ObjectId>)
Returns
System.Threading.Tasks.Task<Handle>
A handle that allows the highlight to be removed later.
Exceptions
System.ArgumentException
Throws if no ObjectIDs are provided.
GeoJSONLayerView.SetFeatureEffect(FeatureEffect) Method
Asynchronously set the value of the FeatureEffect property after render.
public System.Threading.Tasks.Task SetFeatureEffect(dymaptic.GeoBlazor.Core.Components.FeatureEffect? value);
Parameters
value
FeatureEffect
The value to set.
Returns
GeoJSONLayerView.SetFilter(FeatureFilter) Method
Asynchronously set the value of the Filter property after render.
public System.Threading.Tasks.Task SetFilter(dymaptic.GeoBlazor.Core.Components.FeatureFilter? value);
Parameters
value
FeatureFilter
The value to set.
Returns
GeoJSONLayerView.SetHighlightOptions(HighlightOptions) Method
Asynchronously set the value of the HighlightOptions property after render.
public System.Threading.Tasks.Task SetHighlightOptions(dymaptic.GeoBlazor.Core.Components.HighlightOptions? value);
Parameters
value
HighlightOptions
The value to set.
Implements SetHighlightOptions(HighlightOptions)
Returns
GeoJSONLayerView.SetMaximumNumberOfFeatures(Nullable) Method
Asynchronously set the value of the MaximumNumberOfFeatures property after render.
public System.Threading.Tasks.Task SetMaximumNumberOfFeatures(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
GeoJSONLayerView.SetMaximumNumberOfFeaturesExceeded(Nullable) Method
Asynchronously set the value of the MaximumNumberOfFeaturesExceeded property after render.
public System.Threading.Tasks.Task SetMaximumNumberOfFeaturesExceeded(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
GeoJSONLayerView.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()