[英]How to use Google Directions API key free?
I'm asking this question since my Final Year Project requires calculating distance between two markers.我问这个问题是因为我的最后一年项目需要计算两个标记之间的距离。 But upon using the Google Directions API key which I've registered and created it, the server returns me this result (Screenshot link below, click to see).
但是在使用我注册并创建的 Google Directions API 密钥后,服务器会返回这个结果(下面的屏幕截图链接,点击查看)。 It does not create the polyline and does not return the distance between two markers.
它不会创建折线,也不会返回两个标记之间的距离。
If there's no choice but to create a billing account, how much would it costs for a student like me?如果别无选择,只能创建一个计费帐户,像我这样的学生要花多少钱? Is there a student package where they'll provide free access to this API service?
是否有学生 package 可以免费访问此 API 服务? Please help, thanks.
请帮忙,谢谢。
This might not be the answer you want to hear but this is the best answer we can provide you.这可能不是您想听到的答案,但这是我们可以为您提供的最佳答案。
Google Maps Platform offers a free $200 monthly credit for Maps, Routes, and Places once you enable billing in your project.一旦您在项目中启用计费功能,Google Maps Platform 就会为地图、路线和地点提供每月 200 美元的免费信用额度。 With the $200 monthly credit, the vast majority of customers find their use cases are completely free.
凭借每月 200 美元的信用额度,绝大多数客户发现他们的用例是完全免费的。 You won't be charged until your usage exceeds $200 in a month.
在您每月的使用量超过 200 美元之前,我们不会向您收费。
You can avoid surprises on your bill by doing the following:您可以通过执行以下操作来避免账单上的意外:
Here's the pricing for the Directions API.这是方向 API 的价格。
Hope you find it helpful and good luck on your project.希望您发现它对您的项目有帮助并祝您好运。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.