Suggest
PoiSuggest class
This class can search related POIs through pinyin, letters, English, Chinese keywords, etc., so that users can select targets more accurately and conveniently.
Constructor | Description |
---|---|
nimap.service.PoiSuggest(PoiSuggestOptions) |
PoiSuggestOptions | Type | Description |
---|---|---|
city | String | Search for the name of the administrative area or adcode such as "Beijing "or" 110000 |
Method | Return Value | Description |
---|---|---|
search(keyword,function(result)) | By keyword Make relevant queries | |
setCity() | Set search city |