|
| SearchLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator, ISearchLayerViewFactory viewFactory) |
| Constructor.
|
|
ISearchQuery | NavigateBack () |
| Execute navigate back command.- Returns
- Query used to navigate back.
|
|
bool | CanNavigateBack () |
| Can execute navigate back handler.- Returns
- True if backward navigation is possible, otherwise false.
|
|
void | Search (ISearchQuery searchQuery) |
| Search all providers given a text.- Parameters
-
searchQuery | Search query information. |
|
|
void | Search (ISearchQuery searchQuery, ISearchSources searchSources) |
| Search all providers given a text.- Parameters
-
searchQuery | Search query information. |
searchSources | Search sources. |
|
|
void | SearchInRange (GeoPos centerPos, double rangeMeters, int maxCount) |
| Get place names within a range from a center position.- Parameters
-
centerPos | Center position. |
rangeMeters | Range in meters. |
maxCount | Max place names to return. |
|
|
void | SearchInRange (GeoPos centerPos, double rangeMeters, int maxCount, ISearchSources searchSources) |
| Get place names within a range from a center position.- Parameters
-
centerPos | Center position. |
rangeMeters | Range in meters. |
maxCount | Max place names to return. |
searchSources | Search sources. |
|
|
void | Clear (bool clearHistory=true) |
| Clear search layer.- Parameters
-
clearHistory | If true clears backward search navigation. Default is true. |
|
|
override void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
override void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.- Parameters
-
If the layer handles the event, it must set the Handled property to true.
|
|
| GeoLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator) |
|
abstract void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.
|
|
virtual void | Generate () |
| Requests that the layer generates it's view.
|
|
abstract void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
virtual void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
void | SetDirty (object sender) |
| Sets dirty flag and stores sender, use to avoid cyclic dirtying.
|
|
virtual bool | IsDirty () |
|
void | Dispose () |
| Invoked when this object is being removed from the application and will be subject to garbage collection.
|
|
void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.
|
|
void | Generate () |
| Requests that the layer generates it's view.
|
|
void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
void | SetDirty (object dirtySource) |
| Sets dirty flag and stores sender, use to avoid cyclic dirtying.
|
|
bool | IsDirty () |
|
void | Search (ISearchQuery searchQuery) |
| Search all providers given a text.
|
|
void | Search (ISearchQuery searchQuery, ISearchSources searchSources) |
| Search all providers given a text.
|
|
void | SearchInRange (GeoPos centerPos, double rangeMeters, int maxCount) |
| Get place names within a range from a center position.
|
|
void | SearchInRange (GeoPos centerPos, double rangeMeters, int maxCount, ISearchSources searchSources) |
| Get place names within a range from a center position.
|
|
void | Clear (bool clearHistory=true) |
| Clear search layer.
|
|
ISearchQuery | NavigateBack () |
| Execute navigate back command.
|
|
bool | CanNavigateBack () |
| Can execute navigate back handler.
|
|
|
int | MinimumFacetOccurenceFilter [get, set] |
| Get or set the minimum number of occurences of a facet for it to be returned by a search operation.
|
|
bool | ShowSearchMatchName [get, set] |
| Get or set if search match name is shown.
|
|
bool | ShowSearchMatchMark [get, set] |
| Get or set if a mark is displayed at the search match position.
|
|
List< ISearchProvider > | SearchProviders [get, set] |
| Get or set serach providers.
|
|
List< ISearchMatchRenderer > | SearchMatchRenderers [get, set] |
| Get or set search match renderers.
|
|
List< string > | SimplifiedSearchMatchRenderingFilter [get, set] |
| Get or set kist of ids which should have simplified rendering.
|
|
ISearchMatch | SelectedSearchMatch [get, set] |
| Get or set selected search match.
|
|
Dictionary< string, int > | TotalMatchCount [get] |
| Get or set total number of matches.
|
|
ObservableCollection< PlaceNameItem > | SearchInRangeResult [get] |
| Get Search in Range result.
|
|
ObservableCollection< ISearchMatch > | SearchMatches [get, set] |
| Get Search matches.
|
|
ObservableCollection< ISearchFacet > | Facets [get] |
| Get facets.
|
|
ObservableCollection< ISearchFacet > | SelectedFacets [get] |
| Get selected facets.
|
|
bool | ExtractFacets [get, set] |
| Get or set if facets should be extracted. Default is true.
|
|
bool | UseGeoLimits [get, set] |
| Get or set if geo limits should be used in searches. Default is true.
|
|
bool | ReturnResultDatasources [get, set] |
| Get or set if datasources should be returned with matches. Default is true.
|
|
IGeoControlViewModel | GeoControlViewModel [get, set] |
| Get or set geo control view model.
|
|
UIElement | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
string | Name [get] |
| A name representing the type of layer.
|
|
bool | Visible [get, set] |
| Gets or sets the visibility of the layer.
|
|
IGeoContext | GeoContext [get, set] |
| Gets or sets the GeoContext related to the layer.
|
|
IGeoNavigator | GeoNavigator [get, set] |
| Gets or sets the GeoNavigator related to the GeoControl.
|
|
IGeoLayerViewFactory | GeoLayerViewFactory [get, set] |
| Gets a factory responsible for creating a IGeoLayerViewFactory view.
|
|
IGeoLayerView | GeoLayerView [get, set] |
| Gets or sets the view associated with this view model.
|
|
ClipMargins | ClipMargins [get, set] |
| Enables or disables clipping of the contents of the view, based on the specifed clip margins.
|
|
HashSet< object > | DirtySources [get] |
| All contributors to current dirty.
|
|
virtual string | DisplayName [get, protected set] |
| Returns the user-friendly name of this object. Child classes can set this property to a new value, or override it to determine the value on-demand.
|
|
string | DisplayName [get] |
|
string | Name [get] |
| A name representing the type of layer.
|
|
bool | Visible [get, set] |
| Gets or sets the visibility of the layer.
|
|
IGeoContext | GeoContext [get, set] |
| Gets or sets the GeoContext related to the layer.
|
|
IGeoLayerViewFactory | GeoLayerViewFactory [get] |
| Gets a factory responsible for creating a IGeoLayerViewFactory view.
|
|
IGeoLayerView | GeoLayerView [get, set] |
| Gets or sets the view associated with this view model.
|
|
IGeoNavigator | GeoNavigator [get, set] |
| Gets or sets the GeoNavigator related to the GeoControl.
|
|
IGeoControlViewModel | GeoControlViewModel [get, set] |
| Get or set geo control view model.
|
|
ClipMargins | ClipMargins [get, set] |
| Enables or disables clipping of the contents of the view, based on the specifed clip margins.
|
|
HashSet< object > | DirtySources [get] |
| All contributors to current dirty.
|
|
UIElement | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
int | MinimumFacetOccurenceFilter [get, set] |
| Get or set the minimum number of occurences of a facet for it to be returned by a search operation.
|
|
List< string > | SimplifiedSearchMatchRenderingFilter [get, set] |
| Get or set kist of ids which should have simplified rendering.
|
|
ObservableCollection< PlaceNameItem > | SearchInRangeResult [get] |
| Get Search in Range result.
|
|
ObservableCollection< ISearchMatch > | SearchMatches [get, set] |
| Get Search matches.
|
|
ObservableCollection< ISearchFacet > | Facets [get] |
| Get facets.
|
|
ObservableCollection< ISearchFacet > | SelectedFacets [get] |
| Get selected facets.
|
|
List< ISearchProvider > | SearchProviders [get, set] |
| Get or set serach providers.
|
|
List< ISearchMatchRenderer > | SearchMatchRenderers [get, set] |
| Get or set search match renderers.
|
|
ISearchMatch | SelectedSearchMatch [get, set] |
| Get or set selected search match.
|
|
bool | ShowSearchMatchName [get, set] |
| Get or set if search match name is shown.
|
|
bool | ShowSearchMatchMark [get, set] |
| Get or set if a mark is displayed at the search match position.
|
|
Dictionary< string, int > | TotalMatchCount [get] |
| Get or set total number of matches.
|
|
bool | ExtractFacets [get, set] |
| Get or set if facets should be extracted. Default is true.
|
|
bool | UseGeoLimits [get, set] |
| Get or set if geo limits should be used in searches. Default is true.
|
|
bool | ReturnResultDatasources [get, set] |
| Get or set if datasources should be returned with matches. Default is true.
|
|
|
SearchMatchSelectionChangedEventHandler | SearchMatchSelectionChanged = delegate { } |
|
SearchCompletedEventHandler | SearchCompleted = delegate { } |
|
SearchCompletedEventHandler | SearchInRangeCompleted = delegate { } |
|
VisibleChangedEventHandler | VisibleChanged = delegate { } |
|
LayerChangedEventHandler | LayerChanged = delegate { } |
|
PropertyChangedEventHandler | PropertyChanged = delegate { } |
| Raised when a property on this object has a new value.
|
|
VisibleChangedEventHandler | VisibleChanged |
| Visibility changed.
|
|
LayerChangedEventHandler | LayerChanged |
| Layer changed.
|
|
SearchMatchSelectionChangedEventHandler | SearchMatchSelectionChanged |
| Identifies the search match selection changed event.
|
|
SearchCompletedEventHandler | SearchCompleted |
| Identifies the search completed event.
|
|
SearchCompletedEventHandler | SearchInRangeCompleted |
| Identifies the search-in-range completed event.
|
|
View model for layer with search capabilities.