ArcGIS API for WPF - Library Reference
GeographicToWebMercator Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Bing Namespace > Transform Class : GeographicToWebMercator Method

geographicPoint
The geographic point.
Helper method for quickly projecting coordinates from geographic WGS84 coordinates (WKID=4326) to web mercator (WKID=102100).

Syntax

Visual Basic (Declaration) 
Public Shared Function GeographicToWebMercator( _
   ByVal geographicPoint As MapPoint _
) As MapPoint
C# 
public static MapPoint GeographicToWebMercator( 
   MapPoint geographicPoint
)

Parameters

geographicPoint
The geographic point.

Return Value

Web Mercator point

Remarks

Latitude values must fall within -90 and 90. X values outside +/-180 will assumed going round earth. ex. 181W is equivalent to 179E.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.