Page 1 of 1

Google maps api

Posted: 2023-07-03 18:09
by fcasale
Good morning,
i've created an app with Appgini, created a field with Google maps and uploaded it on our server. I've create on google cloud console a new app with MAPS EMBED and MAPS STATIC api enabled. After that i've created an API credential with restriction by IP and limited only at those two services (MAPS EMBED and MAPS STATIC). I have always INVALID URL in my GOogle Maps field in detail view and "Invalid url!" style="max....." in table view.

How can i fix this?

Another little problem. When i add api key in admin settings after saving it.... if i navigate again in the same page i have the API field empty, i repeat the insertion, saving again... and now the api is showed and remains in the field.

Thanks

Bye

Re: Google maps api

Posted: 2023-10-30 15:32
by afayez
I have same issue
please any one supports

Re: Google maps api

Posted: 2023-10-30 21:27
by jfischer
Hello
The field for the Url (Varchar / 200) is set. Then it works. The URL of Google maps is very long (at least in Austria).

Kind regards from Austria - Jo

Re: Google maps api

Posted: 2023-11-01 08:49
by afayez
jfischer wrote:
2023-10-30 21:27
The field for the Url (Varchar / 200) is set. Then it works. The URL of Google maps is very long (at least in Austria).
Thanks alot
yes it worked with the long url which has the coordinates
I took it from the internet browser not the Gmap application

Re: Google maps api

Posted: 2023-11-14 22:00
by ronwill
Another little problem. When i add api key in admin settings after saving it.... if i navigate again in the same page i have the API field empty, i repeat the insertion, saving again... and now the api is showed and remains in the field.
I had the same problem, however when I enter the 'googleAPIKey' => "xxxxxxxxxx" into my config file it remains there and as its my config file it does not get overwritten.

Hope that will work for you till issue is resolved.