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...
Javascript error when choosing Coordinates
-
- Phoca Newbie
- Posts: 5
- Joined: 30 Jun 2011, 10:01
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Javascript error when choosing Coordinates
Hi, which error you exactly mean, I don't see any map on the site, any javascript error
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 27 Feb 2014, 03:54
Re: Javascript error when choosing Coordinates
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.
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.
-
- Phoca Newbie
- Posts: 6
- Joined: 27 Feb 2014, 03:54
Re: Javascript error when choosing Coordinates
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[...
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[...
-
- Phoca Newbie
- Posts: 6
- Joined: 27 Feb 2014, 03:54
Re: Javascript error when choosing Coordinates
Okay. Now I see. Need a Google API code. I see Jan is working on it. Thanks Jan.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Javascript error when choosing Coordinates
Hi, see:
https://www.phoca.cz/news/890-phoca-maps-3-0-4-released
Guide to get Google Maps API key:
https://www.phoca.cz/documents/53-phoca- ... ps-api-key
Jan
https://www.phoca.cz/news/890-phoca-maps-3-0-4-released
Guide to get Google Maps API key:
https://www.phoca.cz/documents/53-phoca- ... ps-api-key
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 09 Aug 2016, 17:28
Re: Javascript error when choosing Coordinates
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
Someone can help me?
Thank you for your care...
Giuseppe
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Javascript error when choosing Coordinates
Hi, just open the Options of Phoca Maps and add the key there.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 11 Aug 2016, 11:03
Re: Javascript error when choosing Coordinates
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!
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!
-
- Phoca Newbie
- Posts: 2
- Joined: 09 Aug 2016, 17:28
Re: Javascript error when choosing Coordinates
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.Jan wrote:Hi, just open the Options of Phoca Maps and add the key there.
Jan
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!!!