Map.SetView, méthode (GeoCoordinate, Double, Double, MapAnimationKind)
Espace de noms : Microsoft.Phone.Maps.Controls
Assembly : Microsoft.Phone.Maps (dans Microsoft.Phone.Maps.dll)
Syntaxe
'Déclaration
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
Paramètres
- center
Type : System.Device.Location.GeoCoordinate
- zoomLevel
Type : System.Double
- heading
Type : System.Double
- animationKind
Type : Microsoft.Phone.Maps.Controls.MapAnimationKind
Informations de version
.NET pour les applications Windows Phone
Pris en charge dans : Windows Phone 8, Silverlight 8.1
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.