Package google.type
LatLng
Obiekt reprezentujący parę szerokości i długości geograficznej. Wartość ta jest wyrażana jako para podwójnej wartości reprezentującej stopnie szerokości i długości geograficznej w stopniach. O ile nie wskazano inaczej, ten obiekt musi być zgodny ze standardem WGS84. Wartości muszą mieścić się w znormalizowanych zakresach.
Pola |
latitude |
double
Szerokość geograficzna w stopniach. Musi mieścić się w zakresie [-90,0; +90,0].
|
longitude |
double
Długość geograficzna w stopniach. Musi mieścić się w zakresie [-180,0; +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: 2023-12-01 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-01 UTC."],[[["LatLng is a message object used to represent a latitude/longitude pair using a pair of doubles conforming to the WGS84 standard."],["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."]]],["The core content describes the `LatLng` object, which represents a latitude/longitude pair using double values for degrees. It adheres to the WGS84 standard and requires normalized values. The `latitude` field, a double, must be within the range of -90.0 to +90.0 degrees. The `longitude` field, also a double, must be within the range of -180.0 to +180.0 degrees. These are the only fields and their value ranges.\n"]]