data |
Poi資料 |
POI詳細資訊陣列 |
N/A |
兩者 |
|
id |
POI ID |
已指派 |
N/A |
回應 |
"id": "1455462b-7f9c-4220-9f42-5bbce777a0d1" |
name |
POI的名稱 |
字串 |
512 個字元 |
兩者,選用* |
"name": "My Favorite Place" |
description |
POI的說明 |
字串 |
512 個字元 |
兩者,選用* |
"description": "This is a very good place." |
location |
POI的型別與座標陣列 |
陣列(混合) |
N/A |
兩者 |
"location": {"type": "Point", "coordinates": [-122.201007, 37.604713] |
type |
POI型別 |
字串 |
目前僅支援「點」 |
兩者皆有,為請求所必需 |
"type": "Point" |
coordinates |
POI的經度和緯度陣列 |
陣列(浮點數) |
經度:-180至180,緯度–85至85 |
兩者皆有,為請求所必需 |
"coordinates": [-122.201007, 37.604713] |
radius |
POI周圍圓形地理圍欄的大小 |
浮點數 |
10 - 2000米 |
兩者皆有,為請求所必需 |
"radius": 100 |
country |
POI的國家/地區 |
字串 |
32 個字元 |
兩者,選擇性* |
"country": "United States" |
state |
POI的州 |
字串 |
32 個字元 |
兩者,選擇性* |
"state": "California" |
city |
POI的城市 |
字串 |
32 個字元 |
兩者,選擇性* |
"city": "San Jose" |
street |
POI的街道地址 |
字串 |
256 個字元 |
兩者,選擇性* |
"street": "122 Woz Way" |
category |
POI的類別 |
字串 |
100 個字元 |
兩者,選擇性* |
"category": "cafe" |
icon |
POI圖示 |
字串 |
50 個字元 |
兩者,選擇性* |
"icon": "star" |
color |
POI的色彩 |
字串 |
8 個字元 |
兩者,選擇性* |
"color": "blue" |
metadata |
POI的索引鍵/值組陣列 |
array(string) |
索引碼:256個字元,值:256個字元,最多10對 |
兩者,選擇性* |
"metadata": {"region": "Equator"} |
lib_id |
POI所在的資料庫ID |
N/A |
N/A |
兩者,必填 |
"lib_id": "ac7a0b25-c6c2-43ba-bbc6-2b1777b80fe9" |