Javascript error when choosing Coordinates

Phoca Maps - displaying maps in Joomla! CMS
parkstad
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 Jun 2011, 10:01

Javascript error when choosing Coordinates

Post 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...

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47902
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Javascript error when choosing Coordinates

Post by Jan »

Hi, which error you exactly mean, I don't see any map on the site, any javascript error :idea:

Jan
If you find Phoca extensions useful, please support the project
jeffy589
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Feb 2014, 03:54

Re: Javascript error when choosing Coordinates

Post 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.
jeffy589
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Feb 2014, 03:54

Re: Javascript error when choosing Coordinates

Post 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[...
jeffy589
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Feb 2014, 03:54

Re: Javascript error when choosing Coordinates

Post by jeffy589 »

Okay. Now I see. Need a Google API code. I see Jan is working on it. Thanks Jan.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47902
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Javascript error when choosing Coordinates

Post by Jan »

If you find Phoca extensions useful, please support the project
netviator
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Aug 2016, 17:28

Re: Javascript error when choosing Coordinates

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

Re: Javascript error when choosing Coordinates

Post by Jan »

Hi, just open the Options of Phoca Maps and add the key there.

Jan
If you find Phoca extensions useful, please support the project
moot
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 11 Aug 2016, 11:03

Re: Javascript error when choosing Coordinates

Post 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!
netviator
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Aug 2016, 17:28

Re: Javascript error when choosing Coordinates

Post 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!!!
Post Reply