Package google.type
LatLng
Un oggetto che rappresenta una coppia di latitudine/longitudine. Questo valore viene espresso come una coppia di doppi per rappresentare i gradi di latitudine e i gradi di longitudine. Se non diversamente specificato, questo oggetto deve essere conforme allo standard WGS84. I valori devono essere compresi in intervalli normalizzati.
Campi |
latitude |
double
Latitudine in gradi. Deve essere compreso nell'intervallo [-90,0, +90,0].
|
longitude |
double
Longitudine in gradi. Deve essere compreso nell'intervallo [-180,0, +180,0].
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2023-12-01 UTC.
[null,null,["Ultimo aggiornamento 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"]]