Share via


MapBase.SetView Method (Location, Double)

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

When overridden in a derived class, sets the map view to the specified center location and zoom level.

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

Usage

Syntax

'Declaration
Public MustOverride Sub SetView ( _
    center As Location, _
    zoomLevel As Double _
)
public abstract void SetView (
    Location center,
    double zoomLevel
)
public:
virtual void SetView (
    Location^ center, 
    double zoomLevel
) abstract
public abstract void SetView (
    Location center, 
    double zoomLevel
)
public abstract function SetView (
    center : Location, 
    zoomLevel : double
)

Parameters

  • center
    The location of the center of the map view.
  • zoomLevel
    The zoom level of the map.

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

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