Click or drag to resize

MapMouseToGeo Method (MouseEventArgs, String)

Converts the click point of the mouse event to a geographic point corresponding to the given spatial reference id. The click point of the mouse is determined relative to the map.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public Point MouseToGeo(
	MouseEventArgs e,
	string spatialReferenceId
)

Parameters

e
Type: System.Windows.InputMouseEventArgs
The mouse event args to convert.
spatialReferenceId
Type: SystemString
The spatial reference identifier.

Return Value

Type: Point
The point in geographical units.

Implements

IMapMouseToGeo(MouseEventArgs, String)
See Also