data |
Poi資料 |
POI詳細資訊陣列 |
n/a |
both |
|
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 |
both |
"location": {"type": "Point", "coordinates": [-122.201007, 37.604713] |
type |
POI類型 |
字串 |
目前僅支援"Point" |
兩者皆需,請求中需要 |
"type": "Point" |
coordinates |
POI的經緯度陣列 |
陣列(浮點) |
經度:-180到180,latitude -85到85 |
兩者皆需,請求中需要 |
"coordinates": [-122.201007, 37.604713] |
radius |
POI周圍圓形地震的大小 |
浮水 |
10 - 2000米 |
兩者皆需,請求中需要 |
"radius": 100 |
country |
POI的國家/地區 |
字串 |
32 個字元 |
both, optional* |
"country": "United States" |
state |
POI的狀態 |
字串 |
32 個字元 |
both, optional* |
"state": "California" |
city |
POI的城市 |
字串 |
32 個字元 |
both, optional* |
"city": "San Jose" |
street |
POI的街道地址 |
字串 |
256 個字元 |
both, optional* |
"street": "122 Woz Way" |
category |
POI的類別 |
字串 |
100 個字元 |
both, optional* |
"category": "cafe" |
icon |
POI的圖示 |
字串 |
50 個字元 |
both, optional* |
"icon": "star" |
color |
POI的色彩 |
字串 |
8 個字元 |
both, optional* |
"color": "blue" |
metadata |
POI的鍵/值對陣列 |
array(string) |
鍵:256個字元,值:256個字元,最多10對 |
both, optional* |
"metadata": {"region": "Equator"} |
lib_id |
POI所在的庫ID |
n/a |
n/a |
both, required |
"lib_id": "ac7a0b25-c6c2-43ba-bbc6-2b1777b80fe9" |