Page 1 of 2

google map display error message

Posted: 23 May 2018, 19:36
by mitzi
My map used to display fine, but now I get an "JavaScript console error message". I added an API Key last June. I tried also to unpublish the marker and no change. My site is: http://www.kennethgilbertmd.com/plastic ... directions.
Thanks for your help!

Re: google map display error message

Posted: 25 May 2018, 00:46
by Jan
Hi, on your site I get this error message from Google:
Google Maps JavaScript API error: InvalidKeyMapError https://developers.google.com/maps/docu ... -map-error
Jan

Re: google map display error message

Posted: 26 May 2018, 12:07
by tommy_m62
Hello Jan,
i have the same Problem! I already generated a new API-Key.. no restrictions.. didn#t work.
I copied it into Phoca-Maps. Same Error!
My Page: http://restrisiko.info/index.php/servic ... rte/reduit
WebConsole Firefox Messages:
JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:542
Google Maps JavaScript API error: InvalidKeyMapError https://developers.google.com/maps/docu ... -map-error js:42:424
perf_trace {"name": "e2e", "parent": "PageEvents.BIGPIPE_ONLOAD"} XM1bgTzrj7-.js:194:2734
ErrorUtils caught an error: "<![EX[["Tried to listen to element of type %s from %s: %s","click","Error","C...". Subsequent errors won't be logged; see https://fburl.com/debugjs. XM1bgTzrj7-.js:57:6406
Google Maps JavaScript API warning: InvalidKey https://developers.google.com/maps/docu ... nvalid-key util.js:228:12
Thanks for Your Support!!!
Greetings,
Achim

Re: google map display error message

Posted: 26 May 2018, 12:41
by Jan
Hi, as written in the error message:
Google Maps JavaScript API error: InvalidKeyMapError
So the key is not valid, did you follow this guide:
https://www.phoca.cz/documents/53-phoca ... ps-api-key

Alternatively you can use OpenStreetMap without API key.

Jan

Re: google map display error message

Posted: 26 May 2018, 17:34
by mitzi
It appears that Google now requires a credit card to get the necessary credentials to obtain at API key.

Re: google map display error message

Posted: 26 May 2018, 23:44
by Jan
The requirements starts on June 11, 2018 so for now there will be other problem :idea:

Jan

Re: google map display error message

Posted: 28 May 2018, 11:34
by tommy_m62
So.. i still have Problems with Google API. I activated all API's for Phoca Maps.

Well... if there are coming even more restrictions for Using Google API's... i will switch to OpenMaps.

Still worrying.. why it did work for years.. and now there are Problems, before(!) June 11.

But, Thx very much for Support.

I will try OpenMaps now.

Re: google map display error message

Posted: 30 May 2018, 13:01
by Jan
Hi, this is really hard to say. Phoca Maps only renders all the needed data to display the Google Map, but the rendering is done directly in Google Maps API server, so really hard to say why it does not accept the keys, this is then much more a question on Google Maps API developers :idea: For now I cannot answer such question :-( :-(

Jan

Re: google map display error message

Posted: 02 Aug 2018, 22:20
by Karl1
... i will switch to OpenMaps
Do you know how to switch to openMaps ?
I did not find any hints in docu or forums.

Re: google map display error message

Posted: 03 Aug 2018, 11:12
by Benno
@Karl1

backend --> Components --> Phoca Maps --> Control Panel --> Options --> General -->
Map Type=OpenStreetMap
Save & Close

Kind regards,
Benno