Package google.type
LatLng
Obiekt reprezentujący parę szerokości i długości geograficznej. Jest to para podwójnych wartości reprezentujących stopnie szerokości i długości geograficznej w stopniach. O ile nie wskazano inaczej, urządzenie musi być zgodne 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-02 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-02 UTC."],[[["LatLng is a message used to represent a location on the earth's surface using latitude and longitude coordinates."],["Latitude and longitude values are expressed as doubles and should conform to the WGS84 standard."],["Latitude must be within the range of -90.0 to +90.0 degrees, while longitude 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. The `latitude` field, a double, must range from -90.0 to +90.0. The `longitude` field, also a double, must be within the range of -180.0 to +180.0. These fields are essential for defining a specific geographic point.\n"]]