NullMode.SetView Method (Location, Double, Double, Double, Boolean)

This documentation is no longer available on MSDN, however it is available as a CHM download.

Sets the map view to the given center, zoom level, heading, and pitch.

Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Overrides Sub SetView ( _
    center As Location, _
    zoomLevel As Double, _
    heading As Double, _
    pitch As Double, _
    animate As Boolean _
)
public override void SetView (
    Location center,
    double zoomLevel,
    double heading,
    double pitch,
    bool animate
)
public:
virtual void SetView (
    Location^ center, 
    double zoomLevel, 
    double heading, 
    double pitch, 
    bool animate
) override
public void SetView (
    Location center, 
    double zoomLevel, 
    double heading, 
    double pitch, 
    boolean animate
)
public override function SetView (
    center : Location, 
    zoomLevel : double, 
    heading : double, 
    pitch : double, 
    animate : boolean
)

Parameters

  • center
    The location of the center of the map view.
  • zoomLevel
    The zoom level of the map view.
  • heading
    The directional heading of the map view.
  • pitch
    The pitch of the map view.
  • animate
    A bool indicating whether to animate map navigation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

NullMode Class
NullMode Members
Microsoft.Maps.MapControl.Core Namespace