... | ... | @@ -3,6 +3,15 @@ |
|
|
get http://172.16.20.63:3000/poi/:zoom/:nwlng/:nwlat/:selng/:selat?category=["catecodeid1","catecodeid2"]
|
|
|
|
|
|
> http://172.16.20.63:3000/poi/0/0/0/0/0?category=["10020101","203030101","10040601"]
|
|
|
- ถ้าไม่ใส่ category คือเอาทุก category
|
|
|
How to render category
|
|
|
```javascript
|
|
|
var categoryList = [];
|
|
|
categoryList.push('0000001')
|
|
|
categoryList.push('0000001')
|
|
|
var str = '?category=' + JSON.stringify(categoryList);
|
|
|
```
|
|
|
|
|
|
|
|
|
response
|
|
|
|
... | ... | @@ -22,13 +31,6 @@ response |
|
|
]
|
|
|
```
|
|
|
|
|
|
How to render category
|
|
|
```javascript
|
|
|
var categoryList = [];
|
|
|
categoryList.push('0000001')
|
|
|
categoryList.push('0000001')
|
|
|
var str = '?category=' + JSON.stringify(categoryList);
|
|
|
```
|
|
|
|
|
|
### delete poi
|
|
|
|
... | ... | |