Maria GDK 4.5.0.137
Documentation of managed code in release branch
Loading...
Searching...
No Matches
TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel Interface Reference
Inheritance diagram for TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel:
TPG.GeoFramework.Contracts.Geo.Layer.IViewModelBase TPG.GeoFramework.Contracts.Geo.Control.IGeoOverviewControlViewModel TPG.GeoFramework.Core.GeoControlViewModel TPG.GeoFramework.Core.GeoOverviewControlViewModel TPG.GeoFramework.Core.GeoOverviewControlViewModel

Public Member Functions

void UpdateEndHistoryPoint (GeoPos centerPosition, double centerScale)
 Update history point where pan/zoom ends up.
 
void SizeChanged (int width, int height)
 Notifies the view model that the view's size has changed.
 
void HandleDrop (DragEventArgs e, Point pt)
 
void CreateHistoryPoint ()
 Creates a history point for the current position and scale.
 
void CreateHistoryPoint (GeoPos centerPosition, double centerScale)
 Creates a history point for the specified position and scale.
 
void GotoPreviousHistoryPoint ()
 Zooms the viewport to the lastest history point, and removes the history point from the history point stack.
 
void GotoNextHistoryPoint ()
 Zooms the viewport to the next history point in the history point list.
 

Properties

IGeoContext GeoContext [get, set]
 The GeoContext related to the GeoControl.
 
IGeoNavigator GeoNavigator [get, set]
 
ObservableCollection< IGeoLayerViewModelLayers [get, set]
 
IGeoLayerViewModel InteractionLayer [get, set]
 Get or set Interaction layer.
 
IGeoControlView GeoControlView [get, set]
 The GeoControl WPF view.
 
int MaxGeoHistoryPointCount [get, set]
 Get or set maximum number of geo history points in undo redo stack.
 
bool HasPreviousHistoryPoints [get]
 Gets a boolean value indication whether any previous history points are available.
 
bool HasSubsequentHistoryPoints [get]
 Gets a boolean value indication whether any subsequent history points are available.
 
IUndoRedoStack UndoRedoStack [get, set]
 Undo redo stack for an application.
 
bool IsVisible [get, set]
 
- Properties inherited from TPG.GeoFramework.Contracts.Geo.Layer.IViewModelBase
string DisplayName [get]
 

Events

HasPreviousHistoryPointsChangedEventHandler HasPreviousHistoryPointsChanged
 Previous history points have changed.
 
HasSubsequentHistoryPointsChangedEventHandler HasSubsequentHistoryPointsChanged
 Subsequent history points have changed.
 
GeoControlViewChangedEventHandler GeoControlViewChanged
 Geo control view changed.
 
DropEventHandler Drop
 
UpdateFrameEventHandler UpdateFrame
 This event is sent just before rendering a frame and can be used to prepare things that are about to be rendered.
 

Member Function Documentation

◆ CreateHistoryPoint() [1/2]

void TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.CreateHistoryPoint ( )

Creates a history point for the current position and scale.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ CreateHistoryPoint() [2/2]

void TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.CreateHistoryPoint ( GeoPos  centerPosition,
double  centerScale 
)

Creates a history point for the specified position and scale.

Parameters
centerPosition
centerScale

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ GotoNextHistoryPoint()

void TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.GotoNextHistoryPoint ( )

Zooms the viewport to the next history point in the history point list.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ GotoPreviousHistoryPoint()

void TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.GotoPreviousHistoryPoint ( )

Zooms the viewport to the lastest history point, and removes the history point from the history point stack.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ SizeChanged()

void TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.SizeChanged ( int  width,
int  height 
)

Notifies the view model that the view's size has changed.

Parameters
width
height

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ UpdateEndHistoryPoint()

void TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.UpdateEndHistoryPoint ( GeoPos  centerPosition,
double  centerScale 
)

Update history point where pan/zoom ends up.

Parameters
centerPositionCenter pos.
centerScaleCenter scale.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

Property Documentation

◆ GeoContext

IGeoContext TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.GeoContext
getset

The GeoContext related to the GeoControl.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ GeoControlView

IGeoControlView TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.GeoControlView
getset

The GeoControl WPF view.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ HasPreviousHistoryPoints

bool TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.HasPreviousHistoryPoints
get

Gets a boolean value indication whether any previous history points are available.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ HasSubsequentHistoryPoints

bool TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.HasSubsequentHistoryPoints
get

Gets a boolean value indication whether any subsequent history points are available.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ InteractionLayer

IGeoLayerViewModel TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.InteractionLayer
getset

Get or set Interaction layer.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ MaxGeoHistoryPointCount

int TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.MaxGeoHistoryPointCount
getset

Get or set maximum number of geo history points in undo redo stack.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.

◆ UndoRedoStack

IUndoRedoStack TPG.GeoFramework.Contracts.Geo.Control.IGeoControlViewModel.UndoRedoStack
getset

Undo redo stack for an application.

Implemented in TPG.GeoFramework.Core.GeoControlViewModel.


The documentation for this interface was generated from the following file: