Page 1 of 2

Javascript error when choosing Coordinates

Posted: 24 Jun 2016, 17:48
by parkstad
There is a javascript error, when I want to configure the coordinates in Phoca Maps
In chrome and in Firefox and IE
How come? Phoca maps was always fine.

Please look at this link:
http://bouwbedrijfpeeters.nl/route
tell me how to repair

Even I tried on a mac, so it must be on my server or in the phoca configuration...

Re: Javascript error when choosing Coordinates

Posted: 28 Jun 2016, 23:37
by Jan
Hi, which error you exactly mean, I don't see any map on the site, any javascript error :idea:

Jan

Re: Javascript error when choosing Coordinates

Posted: 10 Jul 2016, 01:25
by jeffy589
I'm getting the same error. Joomla version 3.5.1. PHP 5.5.36 .
I go to make a new map. I go to latitude/ get coordinates. A pop up window displays and shows a map with a box underneath where I usually put in my address to get my coordinates. But quickly the map vanishes and I see this:
Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details.

I can't create a map. Thanks in advance.

Re: Javascript error when choosing Coordinates

Posted: 10 Jul 2016, 01:43
by jeffy589
Here's the error from Firebug.
Google Maps API error: MissingKeyMapError https://developers.google.com/maps/docu ... -map-error
_.bb(a="Google Maps API error: M...s#missing-key-map-error")js?v=3 (line 32)
km/this.H</<(a=15)common.js (line 52)
_.py</<(a=Object { type="object"})common.js (line 225)
Ul/d(a=Object { type="object"})common.js (line 46)
AuthenticationService.Authenticate?1shttp%3A%2F%2Fmrcsbarbershop.com%2Fmr-c-s-barbershop&callback=_xdc_._ozuacr&token=28169()Authent...n=28169 (line 1)


...ut(a,0)};ab=function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a[...

Re: Javascript error when choosing Coordinates

Posted: 10 Jul 2016, 02:04
by jeffy589
Okay. Now I see. Need a Google API code. I see Jan is working on it. Thanks Jan.

Re: Javascript error when choosing Coordinates

Posted: 11 Jul 2016, 14:24
by Jan

Re: Javascript error when choosing Coordinates

Posted: 09 Aug 2016, 17:31
by netviator
I'm sorry, but I've not understood where I must put in the Phocamaps the Google API Key code...
Someone can help me?

Thank you for your care...

Giuseppe

Re: Javascript error when choosing Coordinates

Posted: 10 Aug 2016, 14:34
by Jan
Hi, just open the Options of Phoca Maps and add the key there.

Jan

Re: Javascript error when choosing Coordinates

Posted: 11 Aug 2016, 11:07
by moot
hey, i have got the same error.

i created the goolge api and set it in the options.
but still get the error. canĀ“t create a map with coordinates.
any idea?

and have a second page, there it works, but just on desktop. when i visit the page with ios its the same error.
both have same template, plugins and components and same joomla...

thanks!

Re: Javascript error when choosing Coordinates

Posted: 11 Aug 2016, 16:49
by netviator
Jan wrote:Hi, just open the Options of Phoca Maps and add the key there.

Jan
Thank you Jan for your care, but when I arrive in options of control panel of Google Maps, I've two lables: Display and Permissions.
In Display I've five options "Yes/No":
1) Enable KML File Loading (default NO)
2) Display Print Route (default Yes)
3) Enable Cache (Default NO)
4) Close Opened Window (Default NO)
5) Enable SSL API Load (Default NO)

I changhe 5) Enable SSL API Load from NO in YES but I've no an item where insert th API Key.

I don't understend where I can put it... :(

RESOLVED!!!

I've dowload the new version 3.0.4 and it was there the sixth point: Google Maps API Key [ ]
I've put in it and all is ok!

Thank you Jan!!! :)

Have a nice day!!!