LatLng
Obiekt reprezentujący parę szerokości i długości geograficznej. Jest ona wyrażona jako para podwójnej precyzji reprezentująca stopnie szerokości i długości geograficznej. O ile nie wskazano inaczej, ten obiekt musi być zgodny ze standardem WGS84. Wartości muszą mieścić się w znormalizowanych zakresach.
Zapis JSON |
{
"latitude": number,
"longitude": number
} |
Pola |
latitude |
number
Szerokość geograficzna w stopniach. Musi mieścić się w zakresie [-90,0, +90,0].
|
longitude |
number
Długość geograficzna w stopniach. Musi mieścić się w zakresie od -180,0 do +180,0].
|
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-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-21 UTC."],[[["A latitude/longitude pair is represented as an object with \"latitude\" and \"longitude\" keys, both containing number values."],["Latitude values must be within the range of -90.0 to +90.0 degrees, while longitude values must be within the range of -180.0 to +180.0 degrees, conforming to the WGS84 standard."]]],["The core content describes a JSON object representing a latitude/longitude pair. It requires two numerical fields: `latitude` (ranging from -90.0 to +90.0) and `longitude` (ranging from -180.0 to +180.0), both in degrees. The object must adhere to the WGS84 standard. The JSON representation format is `{ \"latitude\": number, \"longitude\": number }`. These ranges represent normalized value limits.\n"]]