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

Changes the map view (MapView object) to include the specified LatLong point and the current center point.

MapControl.IncludePointInViewport(latitude, longitude);

Parameters

latitude
The latitude of the point that you want to include in map.
longitude
The longitude of the point that you want to include in the map.

Remarks

When you call the IncludePointInViewpoint method, the center point of the map changes, but the original center point remains in the map view.

Page view tracker