Click to Rate and Give Feedback
MSDN
MSDN Library
VE Standard Map Control SDK, version 2.0
MapControl.GetMetersPerPixel Method
MapControl.GetMetersPerPixel Method

Returns the approximate number of meters on the globe represented by each pixel on the map, at the specified latitude and zoom level.

MapControl.GetMetersPerPixel(latitude (optional), zoomLevel (optional));

Parameters

latitude (optional)
The latitude at which to calculate the meters per pixel. If not specified, the latitude at the center of the current map view is used.
zoomLevel (optional)
The zoom level. If not specified, the zoom level of the current map view is used.

Returns

The number of meters on the globe represented by each pixel on the map.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker