Click or drag to resize

WgsExtensions Class

Helper class for converting points and distance into different coordinate formats.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.ToolsWgsExtensions

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static class WgsExtensions

The WgsExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCanvasToPtvMercator(MapView, UIElement, MapRectangle)
Conversion of a rectangle containing pixel coordinates into a PTV-internal Mercator format.
Public methodStatic memberCanvasToPtvMercator(MapView, UIElement, IEnumerablePoint)
Conversion of multiple pixel coordinates into a PTV-internal Mercator format.
Public methodStatic memberCanvasToPtvMercator(MapView, UIElement, Double)
Conversion of a pixel distance into a Mercator distance.
Public methodStatic memberCanvasToPtvMercator(MapView, UIElement, Point)
Conversion of a pixel coordinate into a PTV-internal Mercator format.
Public methodStatic memberCanvasToWgs
Conversion of a pixel coordinate into WGS format.
Public methodStatic memberGetCurrentEnvelopePtvMercator
Gets the bounding box of the visible map section while the map is in animation mode.
Public methodStatic memberPtvMercatorToCanvas
Conversion of a PTV-internal Mercator coordinate into pixel coordinates.
Public methodStatic memberPtvMercatorToWGS
Conversion of a PTV-internal Mercator distance into a WGS distance.
Public methodStatic memberWgsToCanvas
Conversion of a WGS coordinate into pixel format.
Top
See Also