MapControl.MapServiceToken Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit la clé d’authentification requise pour l’utilisation des services mapControl et de mappage en ligne.
public:
property Platform::String ^ MapServiceToken { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring MapServiceToken();
void MapServiceToken(winrt::hstring value);
public string MapServiceToken { get; set; }
var string = mapControl.mapServiceToken;
mapControl.mapServiceToken = string;
Public Property MapServiceToken As String
Valeur de propriété
Clé d’authentification requise pour l’utilisation des services mapControl et de mappage en ligne. La valeur par défaut est une chaîne vide.
Remarques
Consultez Gérer votre compte Azure Maps pour plus d’informations sur l’obtention d’une clé partagée pour l’authentification.
Un jeton non valide empêche l’authentification avec Azure Maps service. MapControl génère une erreur de service de carte et affiche uniquement un arrière-plan bleu.