The options for the new FeatureSet (i.e. esriFeatureSet / layer / allowUnsafeContent).
The {@link geocortex.framework.application.Application} that this module belongs to.
The collection of feature attributes
Whether the datalinks (if any) for this feature set have been resolved.
Indicates the current state with regard to resolving data links.
The default format to use for displaying date fields that have no explicit format.
The default format to use for displaying number fields that have no explicit format.
The display name to be associated with this FeatureSet. Get display name from layer if not explicitly set.
Set of ESRI features
More properties of feature set
The esri feature layer containing metadata about the feature attributes.
The collection of Geocortex Features.
The icon associated with this featureSet. If not explicitly set, obtain from layer if available
An id of this feature set
Only used by a particular view model. This should be refactored out.
The Layer this FeatureSet is a part of.
An id guaranteed to be unique (auto-generated).
Apply the datalinks with the given featureSet, datalinks and results collection
The datalinks to be applied
Adds a feature to this FeatureSet.
The feature to add to the featureSet.
When true
, the supplied feature will be added to this set without checking for duplicates. The default value is false
.
Optional. If provided, feature is inserted at specified index in the featureSet.
Adds a feature to this FeatureSet at a specific index.
The feature to add to the featureSet.
When true
, the supplied feature will be added to this set without checking for duplicates. The default value is false
.
Optional. If provided, feature is inserted at specified index in the featureSet.
Adds only those features to the feature set that are not already part of the feature set.
Removes all features from this FeatureSet.
Performs a shallow copy of this FeatureSet, returning the cloned value.
Given a FeatureSet, creates a new empty one just like the original (same layer, name etc) Note: This method will not copy the features within the original FeatureSet.
Determines whether a feature is in this FeatureSet.
This method determines equality by using the default equality comparer for features, as defined in {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.Feature.equals}().
This method performs a linear search; therefore, this method is an O(n) operation, where n is the number of features.
The feature to locate in the FeatureSet.
true
if feature is found in the FeatureSet; otherwise, false
.
Executes the specified callback function when the datalinking operation is completed, or immediately if the datalinks are already resolved.
The callback function to execute when the datalinks are resolved.
Updates the current collection of features.
Finds the Geocortex feature corresponding to the given ESRI feature if it exists in the feature set. There is an inherent assumption here that a Geocortex feature instance will be unique in a feature set.
The esri graphic for which the corresponding Geocortex feature needs to be retrieved.
The Geocortex feature corresponding to the given ESRI feature, if it exists, or null.
Finds the Geocortex feature having the given ID (primary key value).
The ID to search for.
The Geocortex feature corresponding to the given ID if it exists, or null.
Finds the extended property matching the specified name.
The name of the property to find.
Creates a new feature set that contains elements that exist in both this set and the specified set.
The feature set to compare to the current set.
A new feature set that contains any elements that exist in both sets.
Modifies the current set to produce the set intersection of two sequences of Features by using the default equality comparer to compare values. The intersection of two sets A and B is defined as the set that contains all the elements of A that also appear in B, but no other elements.
Set containing elements to be retained in this set.
true
if this set changed as a result of the call; false
otherwise.
Loads the feature attributes.
Loads the features from ESRI feature set
Load the geometries for the specified features (if not already loaded). If null is passed in, the geometries for all features will be fetched.
An array of features to load geometries for.
Function to be called when the geometries have been loaded.
A function that is called if an error occurred.
Removes a feature from this FeatureSet.
This method determines equality by using the default equality comparer for features, as defined in {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.Feature.equals}().
This method performs a linear search; therefore, this method is an O(n) operation, where n is the number of features.
The feature to remove.
true
if item was successfully removed; otherwise, false
. This method also returns false
if item is not found.
Resolves the datalinks (if any) for this feature set
Function to be called when a datalink is resolved for a given feature
Boolean of whether or not we should only resolve visible datalinks. By default this is true.
A User State that will be returned to the complete and fail callbacks
a function that is called if the operation completes successfully
a function that is called if an error occurs
Sets the extended property matching the specified name.
The name of the property to update.
The property value.
Creates a new feature set that contains elements of the current set that do not appear in the second set.
The feature set whose elements that also occur in the first set will cause those elements to be removed from the returned set.
A new feature set that contains the set difference of the elements of two sets.
Modifies the current set to produce the set difference of two sequences of Features by using the default equality comparer to compare values. The set difference of two sets is defined as the elements of the first set that do not appear in the second set. Note: This method modifies this set to only keep those elements that do not appear in the second set. It does not also include those elements in the second set that do not appear in this set.
Set containing elements to be removed from this set.
true
if this set changed as a result of the call; false
otherwise.
Creates a new feature set that contains all elements that are present in either the current set or in the specified feature set.
The feature set to add elements from.
A new feature set with the items added; or a copy of the original set if all the items were already in the set.
Modifies the current set to produce the set union of two sequences of Features by using the default equality comparer. In other words, it adds all of the elements in the second set to this set if they're not already present.
Set containing elements to be added to this set.
true
if this set changed as a result of the call; false
otherwise.
Initializes a new instance of the {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.FeatureSet} class.
Represents a Geocortex Essentials FeatureSet.
geocortex.essentialsHtmlViewer.mapping.infrastructure