Bing 地圖服務
Bing 地圖服務
此連接器適用於以下產品和區域:
| 服務 | Class | Regions |
|---|---|---|
| 副駕駛工作室 | 標準 | 除下列區域外的所有 Power Automate 區域 : - 由 21Vianet 營運的中國雲 |
| 邏輯應用程式 | 標準 | 所有 Logic Apps 區域, 但下列區域除外: - Azure 中國區域 - 美國國防部 (DoD) |
| Power Apps | 標準 | 除下列區域外的所有 Power Apps 區域 : - 由 21Vianet 營運的中國雲 |
| Power Automate(自動化服務) | 標準 | 除下列區域外的所有 Power Automate 區域 : - 由 21Vianet 營運的中國雲 |
| 連絡人 | |
|---|---|
| 名稱 | Microsoft |
| URL |
Microsoft LogicApps 支援 Microsoft Power Automate 支援 Microsoft Power Apps 支援 |
| 連接器中繼資料 | |
|---|---|
| Publisher | Microsoft |
| 網站 | https://www.bing.com/maps/ |
正在建立連線
連接器支援下列驗證類型:
| 預設值 | 建立連線的參數。 | 所有區域 | 可共用 |
預設
適用:所有地區
建立連線的參數。
這是可共享的連接。 如果 Power App 與其他使用者共用,也會共用連線。 如需詳細資訊,請參閱 畫布應用程式的連接器概觀 - Power Apps |Microsoft 文件
| 名稱 | 類型 | Description | 為必填項目 |
|---|---|---|---|
| API 金鑰 | securestring | API 金鑰 | 對 |
節流限制
| 名稱 | 呼叫 | 續約期間 |
|---|---|---|
| 每個連線的 API 呼叫 | 1200 | 60 秒 |
動作
| 取得路由 [已棄用] |
此動作已被取代。 請改用 取得路線 。
|
| 取得路由 [已棄用] |
此動作已被取代。 請改用 取得路線 。
|
| 取得路線 |
使用航點計算路線。 |
| 取得靜態地圖 |
獲取靜態地圖。 |
| 取得靜態地圖 [已棄用] |
此動作已被取代。 請改用 取得靜態地圖 。
|
| 按地址獲取位置 |
取得與地址相關聯的位置資訊。 如果找不到位置,則會傳回空白結果。 |
| 按點獲取位置 |
取得與緯度和經度座標相關的位置資訊。 |
取得路由 [已棄用]
此動作已被取代。 請改用 取得路線 。
使用航點計算路線。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
航點 1
|
wp.0 | True | string |
指定為點、地標或地址。 (47.610,-122.107 或華盛頓州西雅圖) |
|
航點 2
|
wp.1 | True | string |
指定為點、地標或地址。 (47.610,-122.107 或華盛頓州西雅圖) |
|
避免
|
avoid | string |
下列清單 (highways、tolls、minimizeHighways、minimizeTolls) 中以逗號分隔的值清單。 |
|
|
Optimize
|
optimize | string |
指定要用來最佳化佈線的參數。 |
|
|
距離單位
|
distanceUnit | string |
回應中用於距離的單位。 預設值:公里 |
|
|
出行模式
|
travelMode | string |
路線的旅行方式。 預設值:駕駛 |
|
|
交通 Date-Time
|
dateTime | string |
當出行方式為公轉時需要。 識別所需的運輸時間,例如到達時間或出發時間。 |
|
|
交通 Date-Time 類型
|
timeType | string |
當出行方式為公轉時需要。 指定如何解譯傳輸日期時間值。 |
傳回
取得路由 [已棄用]
此動作已被取代。 請改用 取得路線 。
使用航點計算路線。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
航點 1
|
wp.0 | True | string |
指定為點、地標或地址。 (47.610,-122.107 或華盛頓州西雅圖) |
|
航點 2
|
wp.1 | True | string |
指定為點、地標或地址。 (47.610,-122.107 或華盛頓州西雅圖) |
|
避開高速公路
|
avoid_highways | boolean |
避免在路線中使用高速公路。 |
|
|
避免通行費
|
avoid_tolls | boolean |
避免在路線中使用收費公路。 |
|
|
避免渡輪
|
avoid_ferry | boolean |
避免在路線中使用渡輪。 |
|
|
盡量減少高速公路的使用
|
avoid_minimizeHighways | boolean |
盡量減少(盡量避免)路線中高速公路的使用。 |
|
|
盡量減少收費公路的使用
|
avoid_minimizeTolls | boolean |
盡量減少(盡量避免)路線中收費公路的使用。 |
|
|
避免跨越國界
|
avoid_borderCrossing | boolean |
避免在路線中越過國家/地區邊界。 |
|
|
Optimize
|
optimize | string |
指定要用來最佳化佈線的參數。 |
|
|
距離單位
|
distanceUnit | string |
回應中用於距離的單位。 預設值:公里 |
|
|
出行模式
|
travelMode | string |
路線的旅行方式。 預設值:駕駛 |
|
|
交通 Date-Time
|
dateTime | string |
當出行方式為公轉時需要。 識別所需的運輸時間,例如到達時間或出發時間。 |
|
|
交通 Date-Time 類型
|
timeType | string |
當出行方式為公轉時需要。 指定如何解譯傳輸日期時間值。 |
傳回
取得路線
使用航點計算路線。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
航點 1
|
wp.0 | True | string |
指定為點、地標或地址。 (47.610,-122.107 或華盛頓州西雅圖) |
|
航點 2
|
wp.1 | True | string |
指定為點、地標或地址。 (47.610,-122.107 或華盛頓州西雅圖) |
|
避開高速公路
|
avoid_highways | boolean |
避免在路線中使用高速公路。 |
|
|
避免通行費
|
avoid_tolls | boolean |
避免在路線中使用收費公路。 |
|
|
避免渡輪
|
avoid_ferry | boolean |
避免在路線中使用渡輪。 |
|
|
盡量減少高速公路的使用
|
avoid_minimizeHighways | boolean |
盡量減少(盡量避免)路線中高速公路的使用。 |
|
|
盡量減少收費公路的使用
|
avoid_minimizeTolls | boolean |
盡量減少(盡量避免)路線中收費公路的使用。 |
|
|
避免跨越國界
|
avoid_borderCrossing | boolean |
避免在路線中越過國家/地區邊界。 |
|
|
Optimize
|
optimize | string |
指定要用來最佳化佈線的參數。 |
|
|
距離單位
|
distanceUnit | string |
回應中用於距離的單位。 預設值:公里 |
|
|
出行模式
|
travelMode | True | string |
路線的旅行方式。 預設值:駕駛 |
|
交通 Date-Time
|
dateTime | string |
當出行方式為公轉時需要。 識別所需的運輸時間,例如到達時間或出發時間。 |
|
|
交通 Date-Time 類型
|
timeType | string |
當出行方式為公轉時需要。 指定如何解譯傳輸日期時間值。 |
傳回
取得靜態地圖
獲取靜態地圖。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
點緯度
|
latitude | True | double |
您要反轉地理編碼的緯度座標。 範例:47.64054 |
|
點經度
|
longitude | True | double |
您要反轉地理編碼的經度座標。 範例:-122.12934 |
|
影像集
|
imagerySet | True | string |
影像類型。 |
|
縮放等級
|
zoomLevel | True | string |
要顯示的縮放等級介於 0 到 21 之間。 預設值 10 |
|
圖像格式
|
format | string |
要用於靜態地圖的影像格式。 |
|
|
地圖大小
|
mapSize | string |
靜態地圖輸出的寬度和高度(以像素為單位)。 範例:1000,600。 |
|
|
圖釘緯度
|
pushpinLatitude | double |
指定圖釘緯度 (更多資訊 https://aka.ms/u8b8aq)。 |
|
|
圖釘經度
|
pushpinLongitude | double |
指定圖釘經度 (更多資訊 https://aka.ms/u8b8aq)。 |
|
|
圖釘圖示樣式
|
pushpinIconStyle | integer |
指定圖釘圖示樣式 (更多資訊 https://aka.ms/u8b8aq)。 |
|
|
圖釘標籤
|
pushpinLabel | string |
指定最多三 (3) 個字元的標籤 (更多資訊 https://aka.ms/u8b8aq)。 |
傳回
- response
- GetMap_Response
取得靜態地圖 [已棄用]
此動作已被取代。 請改用 取得靜態地圖 。
獲取靜態地圖。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
點緯度
|
latitude | True | string |
您要反轉地理編碼的緯度座標。 範例:47.64054 |
|
點經度
|
longitude | True | string |
您要反轉地理編碼的經度座標。 範例:-122.12934 |
|
影像集
|
imagerySet | True | string |
影像類型。 |
|
縮放等級
|
zoomLevel | True | string |
要顯示的縮放等級介於 0 到 21 之間。 預設值 10 |
|
圖像格式
|
format | string |
要用於靜態地圖的影像格式。 |
|
|
地圖大小
|
mapSize | string |
靜態地圖輸出的寬度和高度(以像素為單位)。 範例:1000,600。 |
|
|
圖釘
|
pushpin | string |
點值 (緯度和經度),可選擇新增最多三 (3) 個字元的標籤,並指定圖示樣式。 範例:47.610,-122.107;5;P10 (更多資訊 https://aka.ms/u8b8aq)。 |
傳回
- response
- GetMap_Response
按地址獲取位置
取得與地址相關聯的位置資訊。 如果找不到位置,則會傳回空白結果。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
地址行
|
addressLine | string |
指定地址街道線的字串(不包括城市、國家/地區等)。 |
|
|
地區 (城市)
|
locality | string |
包含地點的字串,例如美國城市。 |
|
|
行政區(州)
|
adminDistrict | string |
包含細分的字串,例如美國州的縮寫。 |
|
|
郵遞區號
|
postalCode | string |
包含郵遞區號的字串,例如美國郵遞區號。 |
|
|
國家/地區
|
countryRegion | string |
指定 ISO 國家/地區代碼的字串。 |
傳回
按點獲取位置
取得與緯度和經度座標相關的位置資訊。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
點緯度
|
latitude | True | double |
您要反轉地理編碼的緯度座標。 範例:47.64054 |
|
點經度
|
longitude | True | double |
您要反轉地理編碼的經度座標。 範例:-122.12934 |
|
包含實體類型
|
includeEntityTypes | string |
您要在回應中傳回的實體類型。 |
|
|
包括鄰里
|
includeNeighborhood | boolean |
此值決定是否在回應中包含鄰域可用時。 0 或 1 |
|
|
包含國家/地區代碼
|
include | boolean |
決定是否包含兩個字母的 ISO 國家/地區代碼的值。 CIISO2 |
傳回
定義
GetRoute_Response
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
距離單位
|
distanceUnit | string |
用於距離的單位。 |
|
持續時間單位
|
durationUnit | string |
用於旅行時間的單位。 |
|
緯度
|
routeLegs.actualEnd.coordinates.latitude | float |
用作路由段實際終點位置的緯度點。 |
|
經度
|
routeLegs.actualEnd.coordinates.longitude | float |
用作路線路段實際結束位置的經度點。 |
|
結合
|
routeLegs.actualEnd.coordinates.combined | string |
以逗號分隔的緯度和經度值。 |
|
類型
|
routeLegs.actualEnd.type | string | |
|
緯度
|
routeLegs.actualStart.coordinates.latitude | float |
用作路線路段實際起始位置的緯度。 |
|
經度
|
routeLegs.actualStart.coordinates.longitude | float |
用作路線路段實際起始位置的經度。 |
|
結合
|
routeLegs.actualStart.coordinates.combined | string |
以逗號分隔的緯度和經度值。 |
|
類型
|
routeLegs.actualStart.type | string | |
|
Description
|
routeLegs.description | string |
路線的簡短描述。 |
|
國家地區
|
routeLegs.endLocation.address.countryRegion | string |
地址的國家或地區名稱。 |
|
格式化地址
|
routeLegs.endLocation.address.formattedAddress | string |
指定完整位址的字串。 |
|
信賴度
|
routeLegs.endLocation.confidence | string |
比賽的信心。 |
|
實體類型
|
routeLegs.endLocation.entityType | string |
一種位置。 例子包括 PopulatedPlace 和 Monument。 |
|
名稱
|
routeLegs.endLocation.name | string | |
|
區域
|
routeLegs.routeRegion | string |
路由區域 |
|
國家地區
|
routeLegs.startLocation.address.countryRegion | string |
地址的國家或地區名稱。 |
|
格式化地址
|
routeLegs.startLocation.address.formattedAddress | string |
指定完整位址的字串。 |
|
信賴度
|
routeLegs.startLocation.confidence | string |
比賽的信心。 |
|
實體類型
|
routeLegs.startLocation.entityType | string |
一種位置。 例子包括 PopulatedPlace 和 Monument。 |
|
名稱
|
routeLegs.startLocation.name | string |
名稱 |
|
交通擁堵
|
trafficCongestion | string | |
|
使用的流量數據
|
trafficDataUsed | string | |
|
行駛距離
|
travelDistance | float |
整個路線所覆蓋的物理距離。 |
|
旅行時間
|
travelDuration | integer |
移動相應行車距離所需的時間(以秒為單位)。 |
|
旅行持續時間流量
|
travelDurationTraffic | integer |
在目前交通狀況下移動對應 TravelDistance 所花費的時間 (以秒為單位)。 |
GetLocation_Response
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
線
|
address.addressLine | string |
地址的官方街道線。 |
|
國家地區
|
address.countryRegion | string |
地址的國家或地區名稱。 |
|
國家地區 ISO 2
|
address.countryRegionIso2 | string |
兩個字母的 ISO 國家代碼。 |
|
格式化地址
|
address.formattedAddress | string |
指定完整位址的字串。 |
|
郵遞區號
|
address.postalCode | string |
地址的郵遞區號、郵遞區號或郵遞區號。 |
|
信賴度
|
confidence | string |
比賽的信心。 |
|
實體類型
|
entityType | string |
一種位置。 例子包括 PopulatedPlace 和 Monument。 |
|
名稱
|
name | string | |
|
緯度
|
point.coordinates.latitude | float |
用於位置的緯度點。 |
|
經度
|
point.coordinates.longitude | float |
用於位置的經度點。 |
|
結合
|
point.coordinates.combined | string |
以逗號分隔的緯度和經度值。 |
|
類型
|
point.type | string |
型別 |
GetMap_Response
- 地圖圖片
- binary