Map.SetView Method (GeoCoordinate, Double, Double, MapAnimationKind)
Namespace: Microsoft.Phone.Maps.Controls
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Syntax
'Declaration
Public Sub SetView ( _
center As GeoCoordinate, _
zoomLevel As Double, _
heading As Double, _
animationKind As MapAnimationKind _
)
public void SetView(
GeoCoordinate center,
double zoomLevel,
double heading,
MapAnimationKind animationKind
)
public:
void SetView(
GeoCoordinate^ center,
double zoomLevel,
double heading,
MapAnimationKind animationKind
)
member SetView :
center:GeoCoordinate *
zoomLevel:float *
heading:float *
animationKind:MapAnimationKind -> unit
Parameters
- center
Type: System.Device.Location.GeoCoordinate
- zoomLevel
Type: System.Double
- heading
Type: System.Double
- animationKind
Type: Microsoft.Phone.Maps.Controls.MapAnimationKind
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.