首页 > 解决方案 > 使用集合在 powerapps BingMaps 上显示多个图钉

问题描述

我已经使用流来返回我的位置列表及其集合中的坐标,现在我正在尝试使用 BingMaps 将它们显示在地图上。“Mylist”是集合名称,但我不确定让它们显示所需参数的正确语法。

BingMaps.GetMap("CanvasLight",15,Location.Latitude,Location.Longitude,
{pushpin: Concat(mylist.Lat&","& mylist.Long,";37",";\r\n")})

我在 powerapps 中的收藏看起来像这样。
powerapps 集合

这是图钉语法的链接:https ://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/pushpin-syntax-a ...

标签: bing-mapsconnectorpowerapps

解决方案


我想这将帮助您获得地图中的多个图钉

" https://dev.virtualearth.net/REST/v1/Imagery/Map/Aerial/静态地图位置/4?optimize=distance&dpi=Large&mapSize=550,400&key=" & BingMapsKey &"&pp" & Concat(MyList, "=" & 纬度 & "," & 经度 &";" &22&"&pp")


推荐阅读