MapView Class |
Namespace: Ptv.XServer.Controls.Map
The MapView type exposes the following members.
Name | Description | |
---|---|---|
Center | Gets or sets the center of the map. | |
CurrentEnvelope | Gets the bounding box of the visible map section while the map is in animation mode. | |
CurrentScale | Gets the scale factor while the map is in animation mode. Defined in Logical units per pixel. | |
CurrentX | Gets the logical x-coordinate while the map is in animation mode. | |
CurrentY | Gets the logical y-coordinate while the map is in animation mode. | |
CurrentZoom | Gets the floating tile level while in animation mode. | |
FinalEnvelope | Gets the anticipated bounding box of the visible map section after the map was in animation mode / the
current box while the map is in animation mode. | |
FinalScale | Gets the scale factor after the map was in animation mode / the anticipated scale factor while the map is
in animation mode. Defined in logical units per pixel. | |
FinalX | Gets the x-coordinate after the map was in animation mode / the anticipated x-coordinate while the map is in animation mode. | |
FinalY | Gets the y-coordinate after the map was in animation mode / the anticipated y-coordinate while the map is
in animation mode. | |
FinalZoom | Gets the level of detail according to the standard tiling scheme (float value). | |
FitInWindow | Gets or sets a value indicating whether the map should be fitted in the window or not. | |
IsAnimating | Gets a value indicating whether an animation is in progress. Returns true while the map performs
a transition to a new map section. | |
MaxZoom | Gets or sets the maximal level of detail according to the standard tiling scheme. The current
detail level (see FinalZoom property) is corrected, if it is higher than the new maximum value. | |
MetersPerPixel | Gets the number of meters spanned by one pixel. | |
MinZoom | Gets or sets the minimal level of detail according to the standard tiling scheme. The current
detail level (see FinalZoom property) is corrected, if it is lower than the new minimum value. | |
OriginOffset |
Gets the origin offset value for Deep Zoom
| |
Printing | Gets or sets a value indicating whether the printing of a map is in process. | |
ZoomScale | Gets or sets the current zoom scale value. |
Name | Description | |
---|---|---|
InitializeComponent |
InitializeComponent
| |
SetEnvelope(MapRectangle, Boolean) | Sets the visible map section to a bounding box, so the box is contained in the map section. | |
SetEnvelope(MapRectangle, Boolean, Double) | Sets the visible map section to a bounding box, so the box is contained in the map section. | |
SetXYZ(Double, Double, Double, Boolean) | Positions the map to a center and zoom factor. | |
SetXYZ(Double, Double, Double, Boolean, Boolean) | Positions the map to a center and zoom factor. | |
SetZoom | Sets the level of detail according to the standard tiling scheme. | |
ZoomAround | Zooms around a point. |
Name | Description | |
---|---|---|
ViewportBeginChanged | Event indicating the beginning of a change of the visible map section. This event is intended for
more longtime actions (for example reading DB-objects), when the map section will change. | |
ViewportEndChanged | Event indicating the ending of a change of the visible map section. It is the counterpart of the
event. | |
ViewportWhileChanged | Event indicating an intermediate view, when animation mode is active. It can be used to adapt the
size of WPF objects, or other actions, which are not time-consuming. This event may called multiple times,
when animation mode is active. |
Name | Description | |
---|---|---|
BackPaneCanvas |
BackPaneCanvas Name Field
| |
CenterProperty | Dependency property for the center of the map. This enables animation, styling, binding, etc... | |
EARTH_RADIUS | The earth radius of the map is 6371000.0 (so the main projection is PTV_Mercator). | |
ForePaneCanvas |
ForePaneCanvas Name Field
| |
GeoCanvas |
GeoCanvas Name Field
| |
Layers |
Layers Name Field
| |
LogicalSize | The size of the map in logical coordinates. | |
ReferenceSize | An arbitrary value. | |
ScaleProperty | Dependency property for the scale value of the map object. | |
TopPaneCanvas |
TopPaneCanvas Name Field
| |
ZoomAdjust | The zoom adjust is used to minimize rounding errors in deep zoom levels. |
Name | Description | |
---|---|---|
CanvasToPtvMercator(UIElement, Double) | Overloaded. Conversion of a pixel distance into a Mercator distance. (Defined by WgsExtensions.) | |
CanvasToPtvMercator(UIElement, Point) | Overloaded. Conversion of a pixel coordinate into a PTV-internal Mercator format. (Defined by WgsExtensions.) | |
CanvasToPtvMercator(UIElement, MapRectangle) | Overloaded. Conversion of a rectangle containing pixel coordinates into a PTV-internal Mercator format. (Defined by WgsExtensions.) | |
CanvasToPtvMercator(UIElement, IEnumerablePoint) | Overloaded. Conversion of multiple pixel coordinates into a PTV-internal Mercator format. (Defined by WgsExtensions.) | |
CanvasToWgs | Conversion of a pixel coordinate into WGS format. (Defined by WgsExtensions.) | |
FindRelativeT | Finds an object of type T for a framework element which is somewhere in the visual tree. (Defined by MapElementExtensions.) | |
GetCurrentEnvelopePtvMercator | Gets the bounding box of the visible map section while the map is in animation mode. (Defined by WgsExtensions.) | |
PtvMercatorToCanvas | Conversion of a PTV-internal Mercator coordinate into pixel coordinates. (Defined by WgsExtensions.) | |
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) | |
WgsToCanvas | Conversion of a WGS coordinate into pixel format. (Defined by WgsExtensions.) |