GoogleMaps icon indicating copy to clipboard operation
GoogleMaps copied to clipboard

API key

Open arstom opened this issue 10 years ago • 1 comments

How can I add my Google API key to the request URL? I only mentioned to use a Business Account.

arstom avatar Aug 06 '15 06:08 arstom

I have the same issue!

$request = new \GoogleMaps\Request();
$request->sign($googleapikey);
$request->setAddress($address);

the parameters are:

address=Trieste+%28TS%29&sensor=false&signature=wc-VdC84wE52ESZhk7DihVqQlpY%3D

and not

address=Trieste+%2528TS%2529&sensor=false&key=AfzaSyDcHZVqHmGNgdXWA2Ru0SEbZ-sdeGKdY7k

any idea?

shinesoftware avatar Aug 31 '15 11:08 shinesoftware