|
| TrackLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator, ITrackLayerViewFactory trackLayerViewFactory, ISymbolManager symbolManager, ITrackContext trackContext, IClientTrackStoreManager trackStoreManager, ITrackServiceSynchronizer trackServiceSynchronizer, IClientTrackInfoStore clientTrackInfoStore, IGeoUnitsSetting geoUnitsSetting) |
|
override void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
override void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
void | Select (ItemId id, bool deselect=false) |
| Selects a track in layer.- Parameters
-
id | Id of track |
deselect | If set to "true" deselects all selected tracks. |
|
|
void | Select (List< ItemId > ids, bool deselect=false) |
| Selects tracks in layer.- Parameters
-
ids | Ids of tracks |
deselect | If set to "true" deselects all selected tracks. |
|
|
void | DeSelect (ItemId id) |
| De-selects a track in layer.- Parameters
-
|
|
void | DeSelect (List< ItemId > ids) |
| De-selects tracks in layer.- Parameters
-
|
|
void | DeSelectAll () |
| De-selects all tracks in layer.
|
|
bool | EnsureWithinMapView (params ItemId[]trackIds) |
|
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.
|
|
bool | SetTracksStyleSet (string listId, IStyleSet styleSet) |
|
bool | SetTracksStyle (string listId, string styleSetXmlRep) |
|
void | SetStateFilter (string stateKey, IItemStateFilter filter) |
|
List< GeoPos > | GetEnvelopeForTracks (ICondition query) |
| Retrieves a list of positions for tracks restricted by a query. This can cause heavy service load if called frequently. If possible, use more more constrained versions of "GetEnvelopeForTracks".- Parameters
-
- Returns
- Envelope for tracks
|
|
List< GeoPos > | GetEnvelopeForTracks (ICondition query, IEnumerable< string > listIds) |
| Retrieves a list of positions for tracks from given trakclists restricted by a query.- Parameters
-
query | Track query |
listIds | Candidate track list ids |
- Returns
- Envelope for tracks
|
|
List< ItemId > | GetClickedSymbols (Point pt) |
| Get symbol item ids at clicked position (in GeoPresentation control coordinates).- Parameters
-
- Returns
- List of clicked symbol item ids.
|
|
void | SetContextVariable (string name, string value) |
| Sets named track context variable . Context variables can be referenced from track styling and track conditions.
|
|
string | GetContextVariable (string name) |
| Retrieves named track context variable . Context variables can be referenced from track styling and track conditions.
|
|
void | PreExport () |
| Called before actual export is performed. The layer must ensure that state that changes the appearance of the layer is not altered.
|
|
void | Export (Canvas canvas, IGeoContext geoContext, double targetDpi) |
| The actual export function. Implementing classes should draw their content using the provided canvas and geo context.- Parameters
-
canvas | The canvas to draw into. |
geoContext | The geo context relevant for this export. |
targetDpi | The wanted dpi for the export. |
|
|
void | PostExport () |
| Called after export is performed. After this no more export functions will be called and the layer should go back to normal operation.
|
|
IList< GeoShape > | GetGeoShapes (GeoRect bounds) |
| Get geo shapes within bounds.- Parameters
-
bounds | Bounds to restrict search. |
- Returns
- List of geo shapes.
|
|
void | SetForceRenderTracks (List< ItemId > trackIds) |
| Set ids of tracks that will be rendered even if outside of view.
|
|
| 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 | SetStateFilter (string stateKey, IItemStateFilter filter) |
|
void | Select (ItemId id, bool deselect=false) |
| Selects a track in layer.
|
|
void | Select (List< ItemId > ids, bool deselect=false) |
| Selects tracks in layer.
|
|
void | DeSelect (ItemId id) |
| De-selects a track in layer.
|
|
void | DeSelect (List< ItemId > ids) |
| De-selects tracks in layer.
|
|
void | DeSelectAll () |
| De-selects all tracks in layer.
|
|
bool | EnsureWithinMapView (params ItemId[] trackIds) |
|
bool | SetTracksStyleSet (string listId, IStyleSet styleSet) |
|
bool | SetTracksStyle (string listId, string styleXmlRep) |
|
List< GeoPos > | GetEnvelopeForTracks (ICondition query) |
| Retrieves a list of positions for tracks restricted by a query. This can cause heavy service load if called frequently. If possible, use more more constrained versions of "GetEnvelopeForTracks".
|
|
List< GeoPos > | GetEnvelopeForTracks (ICondition query, IEnumerable< string > listIds) |
| Retrieves a list of positions for tracks from given trakclists restricted by a query.
|
|
List< ItemId > | GetClickedSymbols (Point pt) |
| Get symbol item ids at clicked position (in GeoPresentation control coordinates).
|
|
void | SetContextVariable (string name, string value) |
| Sets named track context variable . Context variables can be referenced from track styling and track conditions.
|
|
string | GetContextVariable (string name) |
| Retrieves named track context variable . Context variables can be referenced from track styling and track conditions.
|
|
void | SetDirty (object sender) |
| SetDirty with sender, use to detect cyclic dirty.
|
|
void | SetForceRenderTracks (List< ItemId > trackIds) |
| Set ids of tracks that will be rendered even if outside of view.
|
|
void | PreExport () |
| Called before actual export is performed. The layer must ensure that state that changes the appearance of the layer is not altered.
|
|
void | Export (Canvas canvas, IGeoContext geoContext, double targetDpi) |
| The actual export function. Implementing classes should draw their content using the provided canvas and geo context.
|
|
void | PostExport () |
| Called after export is performed. After this no more export functions will be called and the layer should go back to normal operation.
|
|
IList< GeoShape > | GetGeoShapes (GeoRect bounds) |
| Get geo shapes within bounds.
|
|
|
double | GeoFilterBufferFactor [get, set] |
| By default, only tracks within current viewport are fetched from service. The width and height of current view are multiplied by "GeoFilterBufferFactor" before fetching tracks. By increasing this value to >1, tracks outside current view will be fetched. Recommended range is 1.0 to 1.5.
|
|
bool | ShowTrackHistory [get, set] |
| Get or set if track history should be shown.
|
|
ITrackDisplayItems | CurrentTrackDisplayItems [get, protected set] |
|
int | TrackRefreshInterval [get, set] |
|
int | ForceStyleRefreshInterval [get, set] |
|
List< ItemId > | Selected [get] |
|
ObservableCollection< IClientTrackInfo > | SelectedInfo [get] |
|
IDisplayFilter | DisplayFilter [get] |
|
double | SymbolScale [get, set] |
|
bool | SimplifiedRendering [get, set] |
|
string | TimeWindow [get, set] |
|
ITrackClusterViewModel | TrackClusterViewModel [get] |
|
ITrackClustering | TrackClustering [get] |
| Get track clustering.
|
|
List< String > | TrackListIds [get] |
|
IClientTrackStoreManager | ClientTrackStores [get] |
|
ISimpleToolTip | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
bool | IsMultiSelectionEnabled [get, set] |
| Get or set if track multi selection is enabled.
|
|
List< IInteractionHandler > | InteractionHandlers [get] |
| Get interaction handlers.
|
|
TrackCellRequestSettings | ServiceSideCellRequestSettings [get] |
| Service side cell requests are used to extract cell statistics rather than actual track data. This is useful for scenarios with very many tracks inside the view.
|
|
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.
|
|
ITrackClustering | TrackClustering [get] |
| Get track clustering.
|
|
ISimpleToolTip | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
int | TrackRefreshInterval [get, set] |
|
int | ForceStyleRefreshInterval [get, set] |
|
List< ItemId > | Selected [get] |
|
ObservableCollection< IClientTrackInfo > | SelectedInfo [get] |
|
IDisplayFilter | DisplayFilter [get] |
|
ITrackDisplayItems | CurrentTrackDisplayItems [get] |
|
double | SymbolScale [get, set] |
|
string | TimeWindow [get, set] |
|
IClientTrackStoreManager | ClientTrackStores [get] |
|
List< String > | TrackListIds [get] |
|
bool | IsMultiSelectionEnabled [get, set] |
| Get or set if track multi selection is enabled.
|
|
bool | ShowTrackHistory [get, set] |
| Get or set if track history should be shown.
|
|
double | GeoFilterBufferFactor [get, set] |
| By default, only tracks within current viewport are fetched from service. The width and height of current view are multiplied by "GeoFilterBufferFactor" before fetching tracks. By increasing this value to >1, tracks outside current view will be fetched. Recommended range is 1.0 to 1.5.
|
|
TrackCellRequestSettings | ServiceSideCellRequestSettings [get] |
| Service side cell requests are used to extract cell statistics rather than actual track data. This is useful for scenarios with very many tracks inside the view.
|
|
List< IInteractionHandler > | InteractionHandlers [get] |
| Get interaction handlers.
|
|
|
SelectionControlMouseClickEventHandler | SelectionControlMouseClick = delegate { } |
|
CurrentTrackDisplayItemsChangedEventHandler | CurrentTrackDisplayItemsChanged = delegate { } |
|
BeforeTrackSelectionEventHandler | BeforeTrackSelection = delegate { } |
|
RenderOneFrameEventHandler | RenderOneFrame = delegate {} |
|
TrackSelectionChangedEventHandler | TrackSelectionChanged = 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.
|
|
SelectionControlMouseClickEventHandler | SelectionControlMouseClick |
| Selection control mouse click event.
|
|
CurrentTrackDisplayItemsChangedEventHandler | CurrentTrackDisplayItemsChanged |
|
BeforeTrackSelectionEventHandler | BeforeTrackSelection |
|
RenderOneFrameEventHandler | RenderOneFrame |
|
TrackSelectionChangedEventHandler | TrackSelectionChanged |
| Track selection changed.
|
|