VE Standard Map Control SDK, version 2.0
MapControl.LatLongToPixel Method
MapControl.LatLongToPixel Method

Converts a LatLong object (latitude/longitude pair) to the corresponding pixel (Pixel object) on the map.

MapControl.LatLongToPixel(LatLong, zoomLevel);

Parameters

LatLong
A LatLong object, which contains the latitude and longitude of a point.
zoomLevel
The zoom level of the current map view.

Returns

A Pixel object of the LatLong point, relative to the current map view.

Page view tracker