Location
Zawiera lokalizację (punkt geograficzny i opcjonalnie nagłówek).
Zapis JSON |
{
"latLng": {
object (LatLng )
},
"heading": integer
} |
Pola |
latLng |
object (LatLng )
Współrzędne geograficzne punktu drogi.
|
heading |
integer
Kierunek kompasu związany z kierunkiem ruchu. Ta wartość określa stronę drogi, po której odbywa się odbiór i odwożenie. Wartości kierunku mogą się wahać od 0 do 360, gdzie 0 to kierunek na północ, 90 to kierunek na wschód itd. Tego pola można używać tylko w przypadku DRIVE i TWO_WHEELER RouteTravelMode .
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-27 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-27 UTC."],[[["`Location` objects represent a geographic point with latitude and longitude coordinates, optionally including a compass heading."],["The `heading` field, applicable to `DRIVE` and `TWO_WHEELER` travel modes, indicates traffic flow direction for pickup/drop-off, ranging from 0 (North) to 360 degrees."]]],["The provided JSON structure defines a location using latitude and longitude coordinates (`latLng`). It also includes an optional `heading` field, an integer from 0 to 360, representing the compass direction of traffic flow. The `heading` is applicable only for `DRIVE` and `TWO_WHEELER` travel modes and is intended for specifying the road side for pickup or drop-off actions. The `latLng` field itself is a geographic point.\n"]]