目录

Request Parameters

Coordinate

Parameter

Mandatory

Type

Description

lat

Yes

double

Latitude. The value range is [-90, 90].

lng

Yes

double

Longitude. The value range is [-180, 180].

matchType

No

int

Road binding type of the start and end points.

The options are 0 (default), 1, and 3.

  • 0: Road binding is restricted. Do not bind closed roads, roads under construction, traffic restricted roads, and roads set to avoid for the departure place. Do not bind highways, ferries, and roads set to avoid for the destination.
  • 1: Road binding is not restricted.
  • 3: track binding. You can enter longitude-latitude coordinates of consecutive track points in the originPoints field for unlimited binding. Only the start point is supported.
    NOTE:

    Currently, this parameter is available only for driving route planning in Directions API.

requestId

No

String

Request ID, which is used for troubleshooting. The length range is [0, 64].

OriginPoint

Parameter

Mandatory

Type

Description

lat

Yes

double

Latitude. The value range is [-90, 90].

lng

Yes

double

Longitude. The value range is [-180, 180].

accuracy

No

double

Accuracy.

altitude

No

double

Altitude.

bearing

No

double

Bearing.

speed

No

double

Speed.

time

No

long

Timestamp,