Package google.type
LatLng
Um objeto que representa um par de latitude/longitude. Ele é expresso como um par de valores duplos que representam graus de latitude e longitude. Salvo indicação em contrário, ele precisa estar em conformidade com o padrão WGS84. Os valores precisam estar dentro de intervalos normalizados.
Campos |
latitude |
double
A latitude em graus. Precisa estar no intervalo [-90,0, +90,0].
|
longitude |
double
A longitude em graus. Precisa estar no intervalo [-180,0, +180,0].
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2023-12-02 UTC.
[null,null,["Última atualização 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"]]