Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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 ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
179 views
Welcome To Ask or Share your Answers For Others

1 Answer

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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...