LocationInfo
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ऐसी जगह जिसका कोई अन्य आइडेंटिफ़ायर हो.
JSON के काेड में दिखाना |
{
"point": {
object (LatLng )
},
"place": string,
"pointLocationSource": enum (PointSource )
} |
फ़ील्ड |
point |
object (LatLng )
जगह के निर्देशांक. इनपुट के तौर पर point या place में से किसी एक की जानकारी देना ज़रूरी है. अगर दोनों की जानकारी दी गई है, तो point का इस्तेमाल रूटिंग के लिए और place का इस्तेमाल मेटाडेटा के लिए किया जाएगा. अगर इनपुट के तौर पर सिर्फ़ place दिया गया है, तो point का हिसाब place से लगाया जाएगा और उसे आउटपुट में शामिल किया जाएगा.
|
place |
string
इस जगह की जानकारी देने वाले संसाधन का नाम. फ़ॉर्मैट places/{place_id} है. इनपुट के तौर पर point या place में से किसी एक की जानकारी देना ज़रूरी है. अगर दोनों की जानकारी दी गई है, तो point का इस्तेमाल रूटिंग के लिए और place का इस्तेमाल मेटाडेटा के लिए किया जाएगा. place को आउटपुट में सिर्फ़ तब शामिल किया जाता है, जब उसे इनपुट में शामिल किया गया हो. इसका मतलब है कि LatLng से कोई place लुकअप नहीं किया गया है. इस सुविधा को प्रयोग के तौर पर दिया जा रहा है.
|
pointLocationSource |
enum (PointSource )
सिर्फ़ आउटपुट के लिए. latlng point फ़ील्ड का सोर्स. यह सुविधा, एक्सपेरिमेंट के तौर पर उपलब्ध है.
|
PointSource
LatLng
के सोर्स के बारे में बताता है.
Enums |
POINT_SOURCE_UNSPECIFIED |
पॉइंट सोर्स की जानकारी नहीं दी गई है. |
POINT_SOURCE_DEVELOPER_PROVIDED |
LatLng को डेवलपर ने साफ़ तौर पर उपलब्ध कराया था. |
POINT_SOURCE_CALCULATED_FROM_PLACE |
LatLng का हिसाब, दी गई जगह के हिसाब से लगाया गया था. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eLocation is represented in JSON format using a \u003ccode\u003epoint\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epoint\u003c/code\u003e object contains latitude and longitude coordinates within a \u003ccode\u003eLatLng\u003c/code\u003e object, providing geographical location data.\u003c/p\u003e\n"]]],[],null,["# LocationInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [PointSource](#PointSource)\n\nA location with any additional identifiers.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"point\": { object (/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LatLng) }, \"place\": string, \"pointLocationSource\": enum (/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LocationInfo#PointSource) } ``` |\n\n| Fields ||\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `point` | `object (`[LatLng](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LatLng)`)` The location's coordinates. Either `point` or `place` must be specified as input. If both are specified, `point` will be used for routing and `place` will be used for metadata. If only `place` is specified as input, `point` will be calculated from the `place` and included in the output. |\n| `place` | `string` The resource name of the place that represents this location. The format is `places/{place_id}`. Either `point` or `place` must be specified as input. If both are specified, `point` will be used for routing and `place` will be used for metadata. `place` is only included in the output if it was included in the input, meaning that there is no `place` lookup from `LatLng` performed. This is an experimental feature. |\n| `pointLocationSource` | `enum (`[PointSource](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LocationInfo#PointSource)`)` Output only. The source of the latlng `point` field. This is part of an experimental feature. |\n\nPointSource\n-----------\n\nIndicates the source of a `LatLng`.\n\n| Enums ||\n|--------------------------------------|--------------------------------------------------------|\n| `POINT_SOURCE_UNSPECIFIED` | Point source unspecified. |\n| `POINT_SOURCE_DEVELOPER_PROVIDED` | The `LatLng` was explicitly provided by the developer. |\n| `POINT_SOURCE_CALCULATED_FROM_PLACE` | The `LatLng` was calculated from the provided place. |"]]