Dear Phoca team,
Thank you in advance for your attention and awsome extensions!
I've been working on a Joomla 3.4 website and i recently installed your Maps component.
Everything seems pretty normal, i'm an experienced joomla user and a template developer beginner so i still don't understand why is the component not working. I usually get "Uncaught ReferenceError: google is not defined" and the Map does not appears...
Can you help me sort this out?
Best regards,
Miguel
Uncaught ReferenceError: google is not defined
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Apr 2015, 21:21
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Apr 2015, 21:21
Re: Uncaught ReferenceError: google is not defined
Is anyone experiencing this?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Uncaught ReferenceError: google is not defined
Hi, which version of Phoca Maps do you use?
The latest, working here: https://www.phoca.cz/joomla3demo/phoca-maps-demo
Check your site for another javascript errors, maybe some javascript error previously set can somehow influnce the loading of map
Jan
The latest, working here: https://www.phoca.cz/joomla3demo/phoca-maps-demo
Check your site for another javascript errors, maybe some javascript error previously set can somehow influnce the loading of map
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Apr 2015, 21:21
Re: Uncaught ReferenceError: google is not defined
Hi Jan,
Thanks for your attention! I did exactly what you suggested; I had the latest version of Phoca Maps when i got the "Uncaught ReferenceError: google is not defined" but i finally solved this issue last night.
It was in fact a jQuery conflict; i'm not a programmer but i've been developing Joomla responsive templates with custom Bootstrap and jQuery scripts (easing effects for dropdown menus or one page responsive websites) and it has been challenging. I'm learning a lot just by googling and a came across with a solution.
In order to help other people who might get the same error let me explain insted of using $(document).ready(function () { use this snippet:
jQuery(function($) {
// Your code.
})
Voilá, no more conflits!
Miguel
Thanks for your attention! I did exactly what you suggested; I had the latest version of Phoca Maps when i got the "Uncaught ReferenceError: google is not defined" but i finally solved this issue last night.
It was in fact a jQuery conflict; i'm not a programmer but i've been developing Joomla responsive templates with custom Bootstrap and jQuery scripts (easing effects for dropdown menus or one page responsive websites) and it has been challenging. I'm learning a lot just by googling and a came across with a solution.
In order to help other people who might get the same error let me explain insted of using $(document).ready(function () { use this snippet:
jQuery(function($) {
// Your code.
})
Voilá, no more conflits!
Miguel
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Uncaught ReferenceError: google is not defined
Hi, thank you very much for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project