> For the complete documentation index, see [llms.txt](https://coderiding.gitbook.io/dgjj/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://coderiding.gitbook.io/dgjj/hu-lian-wang-ji-cheng-ping-tai/gao-de-di-tu-1/gao-de-di-tu.md).

# AMapSearch库

## 1.地理编码 {将地名转坐标}

AMapGeocodeSearchRequest///地理编码请求

AMapGeocodeSearchResponse///地理编码返回

```
/**
 * @brief 地理编码查询回调函数
 * @param request  发起的请求，具体字段参考 AMapGeocodeSearchRequest 。
 * @param response 响应结果，具体字段参考 AMapGeocodeSearchResponse 。
 */
- (void)onGeocodeSearchDone:(AMapGeocodeSearchRequest *)request response:(AMapGeocodeSearchResponse *)response;
```

## 2.逆地理编码 {将坐标转地名}

AMapReGeocodeSearchRequest///逆地理编码请求

AMapReGeocodeSearchResponse///逆地理编码返回

```
/**
 * @brief 地址编码查询接口
 * @param request 查询选项。具体属性字段请参考 AMapGeocodeSearchRequest 类。
 */
- (void)AMapGeocodeSearch:(AMapGeocodeSearchRequest *)request;

/**
 * @brief 逆地址编码查询接口
 * @param request 查询选项。具体属性字段请参考 AMapReGeocodeSearchRequest 类。
 */
- (void)AMapReGoecodeSearch:(AMapReGeocodeSearchRequest *)request;

/**
 * @brief 逆地理编码查询回调函数
 * @param request  发起的请求，具体字段参考 AMapReGeocodeSearchRequest 。
 * @param response 响应结果，具体字段参考 AMapReGeocodeSearchResponse 。
 */
- (void)onReGeocodeSearchDone:(AMapReGeocodeSearchRequest *)request response:(AMapReGeocodeSearchResponse *)response;
```

## 3.普通POI搜索

AMapPOIKeywordsSearchRequest ///POI关键字搜索

AMapPOIAroundSearchRequest ///POI周边搜索

AMapPOIPolygonSearchRequest ///POI多边形搜索

AMapPOISearchResponse ///POI搜索返回

```
/**
 * @brief POI ID查询接口
 * @param request 查询选项。具体属性字段请参考 AMapPOIIDSearchRequest 类。
 */
- (void)AMapPOIIDSearch:(AMapPOIIDSearchRequest *)request;

/**
 * @brief POI 关键字查询接口
 * @param request 查询选项。具体属性字段请参考 AMapPOIKeywordsSearchRequest 类。
 */
- (void)AMapPOIKeywordsSearch:(AMapPOIKeywordsSearchRequest *)request;

/**
 * @brief POI 周边查询接口
 * @param request 查询选项。具体属性字段请参考 AMapPOIAroundSearchRequest 类。
 */
- (void)AMapPOIAroundSearch:(AMapPOIAroundSearchRequest *)request;

/**
 * @brief POI 多边形查询接口
 * @param request 查询选项。具体属性字段请参考 AMapPOIPolygonSearchRequest 类。
 */
- (void)AMapPOIPolygonSearch:(AMapPOIPolygonSearchRequest *)request;

/**
 * @brief POI查询回调函数
 * @param request  发起的请求，具体字段参考 AMapPOISearchBaseRequest 及其子类。
 * @param response 响应结果，具体字段参考 AMapPOISearchResponse 。
 */
- (void)onPOISearchDone:(AMapPOISearchBaseRequest *)request response:(AMapPOISearchResponse *)response;
```

## 4.沿途POI搜索

AMapRoutePOISearchRequest ///沿途搜索, 注意起点和终点不能相距太远(大概70公里)，否则可能搜索结果为空

AMapRoutePOISearchResponse ///沿途搜索返回

## 5.提示搜索

AMapInputTipsSearchRequest ///搜索提示请求 {提示搜索，就是在还没有输入完全时，根据已有字符进行的搜索；输入关键字，得到目标的搜索关键字，通过那个关键字再调用周边POI搜索接口得到结果}

AMapInputTipsSearchResponse ///搜索提示返回

## 6.公交站点搜索

## 7.行政区划分查询

## 8.驾车路径规划

## 9.步行路径规划

## 10.公交路径规划

## 11.骑行路径规划

## 12.货车路径规划

## 13.距离查询

## 14.天气查询

## 15.路况查询

## 16.附近搜索

a、根据距离排名，合理的推荐上门美甲服务的接单美甲师&#x20;

b、根据行车距离排名，推荐最近的货车司机师傅接单&#x20;

c、周围和我使用同一个app的用户

AMapNearbySearchRequest

## 17.云图检索
