ArcGIS API for Windows Phone - 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
)

Remarks

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

Parameters

geographicPoint
The geographic point.

Return Value

Web Mercator point

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.