Maria GDK 4.5.0.133
Documentation of managed code in release branch
|
Public Member Functions | |
void | CalcTrackingViewport () |
Calculate viewort from current tracking (panning) data. This should be done right before rendering, and not on every mouse move. | |
void | LockCurrentResolution () |
Lock the current screen viewport resolution. This method will cause the map renderer to use the same resolution for all zoom levels, until you call UnlockResolution again. Please note that this will cause severe performance problems when zooming out, and severe rendering artifacts when zooming in. | |
void | UnlockResolution () |
Unlock the screen viewport resolution. See LockCurrentResolution(). | |
bool | IsLockedResolution () |
Returns true if the screen resolution is locked to a specific value. | |
bool | AreSimilar (IViewport a, IViewport b, int pixelOffsetTolerance) |
IViewport | CheckedVp (IViewport vp) |
void | Refresh (bool force=false) |
Public Member Functions inherited from TPG.GeoFramework.Contracts.Geo.Context.IGeoContextBase | |
void | BeginTracking (Point pt) |
void | UpdateTracking (Point pt) |
void | EndTracking (Point pt) |
void | Pan (Vector pan) |
void | Pan (Vector pan, double panStep) |
void | PanLeft (object obj=null) |
void | PanRight (object obj=null) |
void | PanUp (object obj=null) |
void | PanDown (object obj=null) |
void | ZoomAt (Point pt, double zoomFactor) |
void | ZoomTo (GeoPos pos, double scale) |
void | ZoomTo (List< GeoPos > positions, int margin=0) |
Zoom to a list of positions. | |
Properties | |
IViewport | Viewport [get, set] |
Int32Rect | DeviceRect [get, set] |
IViewport | TrackingViewportOrigin [get] |
Starting viewport for trakcing (panning) operations. | |
int | MaxAllowedScale [get, set] |
Max allowed scale of the viewport, measured at equator. | |
string | DisplayProjection [get, set] |
TimingEntries | TimingInfo [get] |
int | Generation [get] |
Generation counter. Should be updated each time the viewport moves enough to cause a redraw of the layers. | |
double | LockedResolution [get, set] |
Current value of the locked screen resolution (in m/pixel) | |
GeoPos | CursorPosition [get, set] |
GeoPos | LastClickedPosition [get, set] |
Vector | DragOffset [get] |
double | LastClickedElevation [get, set] |
bool | InTransition [get, set] |
double | RotateValue [get, set] |
TimeSpan | TransitionTimeout [get, set] |
Properties inherited from TPG.GeoFramework.Contracts.Geo.Context.IGeoContextBase | |
bool | Tracking [get] |
GeoContextTransitionState | TransitionState [get] |
GeoPos | CenterPosition [get, set] |
double | CenterScale [get, set] |
int | PanStep [get, set] |
double | MouseWheelStep [get, set] |
ICommand | PanLeftCommand [get] |
ICommand | PanRightCommand [get] |
ICommand | PanUpCommand [get] |
ICommand | PanDownCommand [get] |
void TPG.GeoFramework.Contracts.Geo.Context.IGeoContext.CalcTrackingViewport | ( | ) |
Calculate viewort from current tracking (panning) data. This should be done right before rendering, and not on every mouse move.
Implemented in TPG.GeoFramework.Core.GeoContext.
bool TPG.GeoFramework.Contracts.Geo.Context.IGeoContext.IsLockedResolution | ( | ) |
Returns true if the screen resolution is locked to a specific value.
Implemented in TPG.GeoFramework.Core.GeoContext.
void TPG.GeoFramework.Contracts.Geo.Context.IGeoContext.LockCurrentResolution | ( | ) |
Lock the current screen viewport resolution. This method will cause the map renderer to use the same resolution for all zoom levels, until you call UnlockResolution again. Please note that this will cause severe performance problems when zooming out, and severe rendering artifacts when zooming in.
Implemented in TPG.GeoFramework.Core.GeoContext.
void TPG.GeoFramework.Contracts.Geo.Context.IGeoContext.UnlockResolution | ( | ) |
Unlock the screen viewport resolution. See LockCurrentResolution().
Implemented in TPG.GeoFramework.Core.GeoContext.
|
get |
Generation counter. Should be updated each time the viewport moves enough to cause a redraw of the layers.
Implemented in TPG.GeoFramework.Core.GeoContext.
|
getset |
Current value of the locked screen resolution (in m/pixel)
Implemented in TPG.GeoFramework.Core.GeoContext.
|
getset |
Max allowed scale of the viewport, measured at equator.
Implemented in TPG.GeoFramework.Core.GeoContext.
|
get |
Starting viewport for trakcing (panning) operations.
Implemented in TPG.GeoFramework.Core.GeoContext.