Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
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.

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