谷歌地图API使用情况 [英] google maps api javascript usage
问题描述
我们之前使用的一个项目是google maps api
$ b
Api1 : API2: https://maps.googleapis.com/maps/api/distancematrix/json?origins= '+ currentLatLong.replace('\s','') 以前我们曾经在参数体中传递了自由键,最近我们启用了高级API,我们得到了客户端ID和私钥密钥。 请教如何使用它?您应该阅读说明如何使用客户端ID和挖掘的文档具有Premium计划许可证的Ital签名 https://developers.google.com/maps/documentation/geocoding/get-api-key#client-id https://developers.google .com / maps / documentation / distance-matrix / get-api-key#client-id 我相信这个文档很清楚。您也可以继续使用API密钥,但必须在Premium计划项目中生成API密钥。 如果您不知道谁有权使用您的Premium计划项目,请按照 https://developers.google.com/maps/premium/support 希望这有助于您! One of our project we are using below mentioned google maps api Api1 :
https://maps.googleapis.com/maps/api/geocode/json?address=' + city ; API2: https://maps.googleapis.com/maps/api/distancematrix/json?origins=' + currentLatLong.replace('\s', '')
+ "&destinations=" + destinationLatLong + "&mode=" + mode
+ "&language=en"; Previously we used to pass free key in parameter body .recently we enabled premium api and we got client id and Private crypto key . Kindly advice how to use it ? You should read the documentation that explains how to use client ID and digital signature with Premium plan license https://developers.google.com/maps/documentation/geocoding/get-api-key#client-id https://developers.google.com/maps/documentation/distance-matrix/get-api-key#client-id I believe the documentation is quite clear. You can also continue using an API key, but you must generate an API key in your Premium plan project. If you don't know who has access to your Premium plan project, please reach out to technical support team as explained in https://developers.google.com/maps/premium/support Hope this helps! 这篇关于谷歌地图API使用情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
+& destinations =+ destinationLatLong +& mode =+ mode
+& language = en;