google map display error message

Phoca Maps - displaying maps in Joomla! CMS
mitzi
Phoca Member
Phoca Member
Posts: 11
Joined: 08 Jul 2011, 21:49

google map display error message

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: google map display error message

Post 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
If you find Phoca extensions useful, please support the project
tommy_m62
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Jun 2016, 11:29

Re: google map display error message

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: google map display error message

Post 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
If you find Phoca extensions useful, please support the project
mitzi
Phoca Member
Phoca Member
Posts: 11
Joined: 08 Jul 2011, 21:49

Re: google map display error message

Post by mitzi »

It appears that Google now requires a credit card to get the necessary credentials to obtain at API key.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: google map display error message

Post by Jan »

The requirements starts on June 11, 2018 so for now there will be other problem :idea:

Jan
If you find Phoca extensions useful, please support the project
tommy_m62
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Jun 2016, 11:29

Re: google map display error message

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: google map display error message

Post 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
If you find Phoca extensions useful, please support the project
Karl1
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Jun 2017, 16:25

Re: google map display error message

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: google map display error message

Post by Benno »

@Karl1

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

Kind regards,
Benno
Post Reply