Azure Maps - 渲染 - 获取地图图像 - 如何在默认模式下使用图钉图像而不是标记图像作为图钉

Azure Maps - Render - Get Map Image - How to use pin image instead of marker image for the pin in default mode

我正在为我的地图使用默认图钉,当我使用下面给出的 URL 时,我在地图上得到了标记图像。我想为我的图标使用预定义的图钉图像。我不想使用自定义图像或不想自己自定义图钉。

如何使用此图像上已有的图标图像: How can i use these available pin icons with the URL given below

URL 用于 Azure Mapshttps://atlas.microsoft.com/map/static/png?api-version=1.0&style=main&layer=basic&zoom=14&height=700&Width=700&center=-122.13230609893799,47.64599069048016&path=lcFF0000|lw2|la0.60|ra1000||-122.13230609893799 47.64599069048016&pins=default|la15+50|al0.66|lc003C62|co002D62 ||'Microsoft Corporate Headquarters'-122.14131832122801 47.64690503939462|'Microsoft Visitor Center'-122.136828 47.642224|'Microsoft Conference Center'-122.12552547454833 47.642940335653996|'Microsoft The Commons'-122.13687658309935 47.64452336193245&subscription-key={subscription-key}

你指向的屏幕截图是 Azure Maps 的 Web SDK。这些标记图像实际上是一个模板,就像 REST 服务一样,但具有预定义的颜色。 REST 服务中未提供这些预定义的彩色标记。

在支持标记模板之前,Web SDK 已经预定义了带有颜色的标记。现在在 Web SDK 中,首选是使用像这样的图标模板,它可以为您提供形状,但允许您自定义大小、主要颜色和次要颜色。 https://azuremapscodesamples.azurewebsites.net/index.html?search=template&sample=All%20built-in%20icon%20templates%20as%20symbols