MapCanvasGeoToCanvas Method (Point, String) |
Converts a geographic point to a canvas coordinate.
Namespace:
Ptv.XServer.Controls.Map.Canvases
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public Point GeoToCanvas(
Point geoPoint,
string spatialReferenceId
)
Public Function GeoToCanvas (
geoPoint As Point,
spatialReferenceId As String
) As Point
public:
Point GeoToCanvas(
Point geoPoint,
String^ spatialReferenceId
)
member GeoToCanvas :
geoPoint : Point *
spatialReferenceId : string -> Point
Parameters
- geoPoint
- Type: System.WindowsPoint
The geographic point. - spatialReferenceId
- Type: SystemString
The spatial reference identifier.
Return Value
Type:
Point The transformed canvas coordinate.
See Also