关于 Uber API 地图端点的信息
Information about Uber API Maps endpoint
沙盒环境中的“/v1/requests/{request_id}/map”端点returns以下link。
这在生产中是如何工作的 -
- 它只是一张显示从上车到目的地的路线的静态图像(类似于我们在优步乘客历史屏幕中看到的那个)吗?
- 还是动态 URL 显示车辆的当前位置以及其他详细信息?
- 行程结束后返回的地图href是否可以访问?
- 是否有 API returns 静态地图显示在 Iphone 应用的 "Uber Rider History" 中?
- Is it just a static image showing a route from pickup to destination (similar to the one we see in Uber rider history screen)?
- Or is it a dynamic URL showing the current location of the vehicle with additional details?
是后者。它包括有关旅行进度和实时更新的详细信息。它与您使用移动应用程序中的 "share ETA" 按钮分享您自己的旅行状态时生成的 link 相同。
- Is the returned map href accessible after the trip is completed?
是的,但只有几天。之后它会产生 404.
- Is there an API that returns a static map as displayed in the "Uber Rider History" in Iphone app?
没有
沙盒环境中的“/v1/requests/{request_id}/map”端点returns以下link。
这在生产中是如何工作的 -
- 它只是一张显示从上车到目的地的路线的静态图像(类似于我们在优步乘客历史屏幕中看到的那个)吗?
- 还是动态 URL 显示车辆的当前位置以及其他详细信息?
- 行程结束后返回的地图href是否可以访问?
- 是否有 API returns 静态地图显示在 Iphone 应用的 "Uber Rider History" 中?
- Is it just a static image showing a route from pickup to destination (similar to the one we see in Uber rider history screen)?
- Or is it a dynamic URL showing the current location of the vehicle with additional details?
是后者。它包括有关旅行进度和实时更新的详细信息。它与您使用移动应用程序中的 "share ETA" 按钮分享您自己的旅行状态时生成的 link 相同。
- Is the returned map href accessible after the trip is completed?
是的,但只有几天。之后它会产生 404.
- Is there an API that returns a static map as displayed in the "Uber Rider History" in Iphone app?
没有