Method: geocode.location.geocodeLocationQuery
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এই পদ্ধতিটি একটি অবস্থানের জিওকোড সম্পাদন করে, যা একটি ঠিকানায় একটি LatLng ম্যাপ করে। এটি ঠিকানা সম্পর্কে কাঠামোগত তথ্য প্রদান করে।
HTTP অনুরোধ
GET https://geocode.googleapis.com/v4beta/geocode/location/{locationQuery}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
ইউনিয়ন প্যারামিটার location_input । জিওকোড করার অবস্থান। location_input নিম্নলিখিতগুলির মধ্যে একটি হতে পারে: |
locationQuery | string "lat,lng" স্ট্রিং এর বিন্যাসে অবস্থান। উদাহরণস্বরূপ, "64.7611872,-18.4705364"। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
languageCode | string ঐচ্ছিক। যে ভাষায় ফলাফল ফেরত দিতে হবে। |
regionCode | string ঐচ্ছিক। অঞ্চল কোড। অঞ্চল কোড, একটি ccTLD ("টপ-লেভেল ডোমেন") দুই-অক্ষরের মান হিসাবে নির্দিষ্ট করা হয়েছে। প্যারামিটার প্রযোজ্য আইনের উপর ভিত্তি করে ফলাফলকে প্রভাবিত করে। |
types[] | string ঐচ্ছিক। ফলাফল সীমাবদ্ধ করতে টাইপ ট্যাগের একটি সেট। যে ফলাফলের কোনো নির্দিষ্ট প্রকার নেই সেগুলি সরানো হয়। সম্ভাব্য মানগুলির সম্পূর্ণ তালিকার জন্য, https://developers.google.com/maps/documentation/places/web-service/place-types- এ সারণি A এবং টেবিল B দেখুন। |
granularity[] | enum ( GeocodeResult.Granularity ) ঐচ্ছিক। এক বা একাধিক অবস্থানের গ্রানুলারিটি এনামগুলির একটি ফিল্টার৷ |
ইউনিয়ন প্যারামিটার location_input । জিওকোড করার অবস্থান। location_input নিম্নলিখিতগুলির মধ্যে একটি হতে পারে: |
location | object ( LatLng ) কাঠামোবদ্ধ বিন্যাসে অবস্থান। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে GeocodeLocationResponse
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/cloud-platform
-
https://www.googleapis.com/auth/maps-platform.geocode
-
https://www.googleapis.com/auth/maps-platform.geocode.location
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: geocode.location.geocodeLocationQuery\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nThis method performs a location geocode, which maps a LatLng to an address. It also provides structured information about the address.\n\n### HTTP request\n\n`GET https://geocode.googleapis.com/v4beta/geocode/location/{locationQuery}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------|-------------------------------------------------------------------------------------------------|\n| Union parameter `location_input`. The location to geocode. `location_input` can be only one of the following: ||\n| `locationQuery` | `string` The location in the format of \"lat,lng\" string. For example, \"64.7611872,-18.4705364\". |\n\n### Query parameters\n\n| Parameters ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `languageCode` | `string` Optional. Language in which the results should be returned. |\n| `regionCode` | `string` Optional. Region code. The region code, specified as a ccTLD (\"top-level domain\") two-character value. The parameter affects results based on applicable law. |\n| `types[]` | `string` Optional. A set of type tags to restrict the results. Results that do not have any of the specified types are removed. For the complete list of possible values, see Table A and Table B at \u003chttps://developers.google.com/maps/documentation/places/web-service/place-types\u003e. |\n| `granularity[]` | `enum (`[GeocodeResult.Granularity](/maps/documentation/geocoding/reference/rest/v4beta/GeocodeResult.Granularity)`)` Optional. A filter of one or more location granularity enums. |\n| Union parameter `location_input`. The location to geocode. `location_input` can be only one of the following: ||\n| `location` | `object (`[LatLng](/maps/documentation/geocoding/reference/rest/Shared.Types/LatLng)`)` The location in the structured format. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [GeocodeLocationResponse](/maps/documentation/geocoding/reference/rest/v4beta/GeocodeLocationResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/maps-platform.geocode`\n- `\n https://www.googleapis.com/auth/maps-platform.geocode.location`"]]