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!
google map display error message
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: google map display error message
Hi, on your site I get this error message from Google:
JanGoogle Maps JavaScript API error: InvalidKeyMapError https://developers.google.com/maps/docu ... -map-error
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 18 Jun 2016, 11:29
Re: google map display error message
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: google map display error message
Hi, as written in the error message:
https://www.phoca.cz/documents/53-phoca ... ps-api-key
Alternatively you can use OpenStreetMap without API key.
Jan
So the key is not valid, did you follow this guide:Google Maps JavaScript API error: InvalidKeyMapError
https://www.phoca.cz/documents/53-phoca ... ps-api-key
Alternatively you can use OpenStreetMap without API key.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 08 Jul 2011, 21:49
Re: google map display error message
It appears that Google now requires a credit card to get the necessary credentials to obtain at API key.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: google map display error message
The requirements starts on June 11, 2018 so for now there will be other problem
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 18 Jun 2016, 11:29
Re: google map display error message
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: google map display error message
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 For now I cannot answer such question
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 15 Jun 2017, 16:25
Re: google map display error message
Do you know how to switch to openMaps ?... i will switch to OpenMaps
I did not find any hints in docu or forums.
- Benno
- Phoca Hero
- Posts: 9451
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: google map display error message
@Karl1
backend --> Components --> Phoca Maps --> Control Panel --> Options --> General -->
Map Type=OpenStreetMap
Save & Close
Kind regards,
Benno
backend --> Components --> Phoca Maps --> Control Panel --> Options --> General -->
Map Type=OpenStreetMap
Save & Close
Kind regards,
Benno