来自 Microsoft Azure 的 UWP MapControl.MapServiceToken

UWP MapControl.MapServiceToken from Microsoft Azure

有谁知道如何从 Microsoft Azure 获取 MapControl 的 MapServiceToken?

我的系统管理员已在 Azure 门户中为企业设置 Bing 地图 API,但是当我尝试使用 MASTERKEY 或 QUERYKEY 时,我仍然得到 "Warning: MapServiceToken not specified"。

Does anyone know how get the MapServiceToken for the MapControl from Microsoft Azure?

MapControlMapServiceToken 不是从 Azure 获得的。这个键是 basic key or enterprise key created from Bing Maps Developer Center. For how to create a key for MapControl.MapServiceToken please reference Request a maps authentication key.

when I try to use either the MASTERKEY or QUERYKEY, I am still getting "Warning: MapServiceToken not specified".

MASTERKEYQUERYKEY 不适用于 MapServiceToken,它们适用于 Geocoding and Managing Data Sources. It requires the MASKTERKEY or QUERTKEY when you request Data Source Management API。 azure Bing Maps API for Enterprise 提供的这两个键是供你访问由 azure 服务创建的 Bing 数据源(例如 blob 服务位置可能是访问的 Bing 数据源)。您还可以在 Bing 地图开发人员中心下使用 MASKTERKEYQUERTKEY 创建 Bing 数据源。