类 MapApiController
java.lang.Object
com.hengyi.xbaseweb.system.controller.base.XBaseController
com.hengyi.xbaseweb.map.controller.MapApiController
- 所有已实现的接口:
IXBaseController
高德地图API
-
字段概要
从类继承的字段 com.hengyi.xbaseweb.system.controller.base.XBaseController
request, userSessionService -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addressToLocation(String address, String city) 地址转换为位置坐标数据directionPlan(String origin, String destination, String type) 出行路径规划distance(AroundSearchDto aroundSearchDto) 周边搜索输入的地名进行搜索建议出行距离规划locationToAddress(String location) 位置坐标转为实际地址从类继承的方法 com.hengyi.xbaseweb.system.controller.base.XBaseController
error, error, getAppId, getCurrentUser, getCurrentUserId, getCurrentUsername, getCurrentUserRoles, getMessage, getMessage, status, success, success, toResult, toResult
-
构造器详细资料
-
MapApiController
public MapApiController()
-
-
方法详细资料
-
addressToLocation
@GetMapping("addressToLocation") public ApiResult addressToLocation(@RequestParam String address, @RequestParam String city) 地址转换为位置坐标数据- 返回:
-
locationToAddress
位置坐标转为实际地址- 返回:
-
directionPlan
@GetMapping("directionPlan") public ApiResult directionPlan(@RequestParam String origin, @RequestParam String destination, @RequestParam String type) 出行路径规划- 返回:
-
distance
@GetMapping("distance") public ApiResult distance(@RequestParam String origin, @RequestParam String destination, @RequestParam(required=false) Integer type) 出行距离规划- 返回:
-
distance
@GetMapping("addressTips") public ApiResult distance(@RequestParam String keywords, @RequestParam(required=false) String city) 输入的地名进行搜索建议- 返回:
-
distance
周边搜索- 返回:
-