با مجموعهها، منظم بمانید ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ژئوکدینگ معکوس
توسعه دهندگان منطقه اقتصادی اروپا (EEA).
ژئوکدینگ معکوس به تبدیل مختصات جغرافیایی یک مکان به آدرس خیابان قابل خواندن توسط انسان اشاره دارد. Maps SDK برای iOS شامل کلاسی به نام کلاس GMSGeocoder است که شامل تابع عضو reverseGeocodeCoordinate است که می توانید از آن برای انجام تبدیل استفاده کنید. این روش مختصات مکان را در یک نمونه از یک شی CLLocationCoordinate2D می گیرد و یک آدرس خیابان قابل خواندن توسط انسان را در نمونه ای از کلاس GMSAddress برمی گرداند.
تأثیر ترجیحات زبانی
ژئوکدر بهینه شده است تا آدرس های خیابانی قابل خواندن برای انسان ارائه دهد. برای رسیدن به این هدف، آدرسهای خیابان را به زبان محلی برمیگرداند و به متنی که کاربر قابل خواندن است (در صورت لزوم) نویسهگردانی میکند. همه آدرس های دیگر به زبان ترجیحی برگردانده می شوند.
اجزای آدرس به همان زبان بازگردانده می شوند که از جزء اول انتخاب شده است.
اگر نامی در زبان ترجیحی موجود نباشد، geocoder از نزدیکترین تطابق استفاده می کند.
ضمانت های مربوط به اجزای آدرس
Google هیچ تضمینی در مورد اجزای آدرس نمی دهد. ساختار آدرس از کشوری به کشور دیگر و حتی در داخل کشورها تغییر می کند.
شما می توانید انتظار داشته باشید که اجزای آدرس فقط حاوی موارد مربوط به آدرس های پستی و کمی بیشتر باشد.
به ویژه، محل بودن نه تضمین شده است که همیشه حضور داشته باشد، و نه قرار است همیشه نماینده شهر باشد.
تاریخ آخرین بهروزرسانی 2025-07-23 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-23 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eReverse Geocoding converts geographic coordinates into a human-readable address using the \u003ccode\u003eGMSGeocoder\u003c/code\u003e class and its \u003ccode\u003ereverseGeocodeCoordinate\u003c/code\u003e function within the Maps SDK for iOS.\u003c/p\u003e\n"],["\u003cp\u003eThe geocoder prioritizes returning addresses in the local language and uses the preferred language as a fallback, with address components following the same language selection.\u003c/p\u003e\n"],["\u003cp\u003eAddress components primarily contain information relevant for postal addresses and may vary in structure and content across different regions.\u003c/p\u003e\n"],["\u003cp\u003eResults from reverse geocoding are not sorted by distance and the order is subject to change, serving as an estimate of the closest addressable location.\u003c/p\u003e\n"]]],[],null,["Reverse Geocoding\n\n\u003cbr /\u003e\n\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nReverse Geocoding refers to the conversion of a location's geographic\ncoordinates into a human-readable street address. The Maps SDK for iOS\nincludes a class called the\n[`GMSGeocoder`](/maps/documentation/ios-sdk/reference/objc/Classes/GMSGeocoder)\nclass, which includes the\n[`reverseGeocodeCoordinate`](/maps/documentation/ios-sdk/reference/objc/Classes/GMSGeocoder#-reversegeocodecoordinate:completionhandler:)\nmember function which you can use to perform the conversion. This method takes\nlocation coordinates in an instance of a\n[CLLocationCoordinate2D](https://developer.apple.com/documentation/corelocation/cllocationcoordinate2d?language=objc)\nobject, and returns a human-readable street address in an instance of the\n[`GMSAddress`](/maps/documentation/ios-sdk/reference/objc/Classes/GMSAddress)\nclass.\n| **Note:** The Maps SDK for iOS does not directly support Geocoding. We recommend that applications use the [Geocoding API](/maps/documentation/geocoding) directly to convert human-readable addresses to map coordinates.\n\nThe influence of language preferences\n\nThe geocoder is optimized to provide human readable street addresses. To achieve\nthis, it returns street addresses in the local language, transliterated to text\nthat is readable by the user (if necessary). All other addresses are returned in\nthe preferred language.\n\n- Address components are returned in the same language, which is chosen from the\n first component.\n\n- If a name is not available in the preferred language, then the geocoder uses\n the closest match.\n\nGuarantees regarding address components\n\nGoogle makes no guarantee regarding address components. Address structure\nchanges from country to country, and even within countries.\n\n- You can expect address components to contain only what is relevant for postal\n addresses, and little more.\n\n- In particular, *locality* is neither guaranteed to be always present, nor is\n it supposed to always represent the *city*.\n\nFor an example of address components in action, see\n[Place Autocomplete Address Form](/maps/documentation/javascript/examples/places-autocomplete-addressform).\n\nSorting the results\n\nResults aren't sorted by distance, and the order is subject to change.\n\n- A particular order is not guaranteed.\n\n- There is no guarantee about what the first result will be.\n\nReverse geocoding is an estimate\n\nThe geocoder attempts to find the closest addressable location within a\nparticular tolerance.\n\nIf the geocoder can't find a match, then it returns no results.\n\nFor more information, see\n[Geocoding Addresses Best Practices](/maps/documentation/geocoding/best-practices)\nand also the [Geocoding FAQ](/maps/documentation/geocoding/faq)."]]