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

Pans the map to a specific latitude and longitude.

MapControl.PanToLatLong(latitude, longitude);

Parameters

latitude
The latitude of the point on which to center the map.
longitude
The longitude of the point on which to center the map.

Remarks

The PanToLatLong method moves the map from one location to another with a smooth transition effect. If you want the map to instantly reposition on a new center point, use the SetCenter method.

Page view tracker