类 LpsClient


  • public class LpsClient
    extends BaseLpsClient
    Lps Client which provides the ability to communicating with logistic map service.
    作者:
    weizhijun
    • 构造器详细资料

      • LpsClient

        public LpsClient()
        Construct a lps client with default settings.
      • LpsClient

        public LpsClient​(BceClientConfiguration configuration)
        Construct a lps client with customized bce client configuration.
        参数:
        configuration - BceClientConfiguration
      • LpsClient

        public LpsClient​(String accessKey,
                         String secretKey)
        Construct a lps client access key, secret key and other default settings.
        参数:
        accessKey - access key id
        secretKey - secret key
    • 方法详细资料

      • direction

        public DirectionResponse direction​(DirectionRequest request)
        Direction the path between the given start point and end point, based on the given planning strategy.
        参数:
        request - DirectionRequest
        返回:
        DirectionResponse
      • routeMatrix

        public RouteMatrixResponse routeMatrix​(RouteMatrixRequest request)
        Batch calculate the restriction, distance and duration information of the route according to the given point matrix (multiple start point and multiple end point).
        参数:
        request - RouteMatrixRequest
        返回:
        RouteMatrixResponse