尝试获取地图中两点之间的方向路线
这是我用来获取路线的网址
另外,我已经在谷歌云控制台中启用了我的计费帐户,但仍然得到输出
{
"error_message": "You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started",
"routes": [],
"status": "REQUEST_DENIED"
}
Run Code Online (Sandbox Code Playgroud) android google-maps google-directions-api android-studio google-cloud-platform