این محصول یا ویژگی در وضعیت Legacy است و برای استفاده جدید قابل فعال نیست. برای اطلاعات بیشتر در مورد مرحله Legacy و نحوه انتقال از Legacy به سرویسهای جدیدتر، به محصولات و ویژگیهای Legacy مراجعه کنید.، این محصول یا ویژگی در وضعیت Legacy است و برای استفاده جدید نمیتوان آن را فعال کرد. برای اطلاعات بیشتر درباره مرحله Legacy و نحوه انتقال از Legacy به سرویسهای جدیدتر، به محصولات و ویژگیهای Legacy مراجعه کنید.
آن را امتحان کنید! این درخواست را با وارد کردن URL در مرورگر وب خود آزمایش کنید - مطمئن شوید که YOUR_API_KEY با کلید API واقعی خود جایگزین کنید. پاسخ فاصله و مدت زمان بین مبدا و مقصد مشخص شده را نشان می دهد.
تاریخ آخرین بهروزرسانی 2025-03-13 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-03-13 بهوقت ساعت هماهنگ جهانی."],[[["This page provides a sample request and response for the Distance Matrix API, demonstrating how to calculate the distance and travel time between two locations."],["The example uses Washington, DC and New York City, NY as locations and showcases the request URL, cURL command, and expected JSON/XML responses."],["Users are encouraged to try the example with their own API key and explore further documentation on building requests and understanding responses."]]],["The content demonstrates requesting distance data between Washington, DC, and New York City using the Google Maps Distance Matrix API. The request URL and cURL command are provided, requiring the user to replace `YOUR_API_KEY` with their own. The API returns distance (228 mi) and duration (3 hours 55 mins) data in both JSON and XML formats. Users can test the URL and further understand responses, and can learn to build custom URL requests through provided documentation.\n"]]