LatLongPoint
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zapis JSON |
{
"kind": string,
"latitude": number,
"longitude": number
} |
Pola |
kind (deprecated) |
string
Określa rodzaj danego zasobu. Wartość: ustalony ciąg znaków "walletobjects#latLongPoint" .
|
latitude |
number
Szerokość geograficzna określona jako dowolna wartość z zakresu od -90,0 do +90,0 włącznie. Wartości spoza tych granic będą odrzucane.
|
longitude |
number
Długość geograficzna określona w zakresie od -180,0 do +180,0 włącznie. Wartości spoza tych granic będą odrzucane.
|
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: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eJSON representation defines a location using latitude and longitude coordinates.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field, identifying the resource type as \u003ccode\u003e"walletobjects#latLongPoint"\u003c/code\u003e, is deprecated and should not be used.\u003c/p\u003e\n"],["\u003cp\u003eLatitude values must be within the range of -90.0 to +90.0, while longitude values must be within the range of -180.0 to +180.0.\u003c/p\u003e\n"]]],["The JSON object represents a geographical point with `latitude` and `longitude` coordinates. Latitude must be a number between -90.0 and 90.0, while longitude must be between -180.0 and 180.0. A deprecated `kind` field, fixed to \"walletobjects#latLongPoint\", is included but should not be used. These fields define the location and ensure it falls within valid geographic boundaries.\n"],null,["# LatLongPoint\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|---------------------------------------------------------------------|\n| ``` { \"kind\": string, \"latitude\": number, \"longitude\": number } ``` |\n\n| Fields ||\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` **(deprecated)** | `string` | This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#latLongPoint\"`. |\n| `latitude` | `number` The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. |\n| `longitude` | `number` The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. |"]]