Maps not showing in articles

Phoca Maps - displaying maps in Joomla! CMS
Lox87
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Apr 2012, 15:12

Maps not showing in articles

Post by Lox87 »

Hi,

I installed on my joomla 1.7.3 Phoca maps component v. 2.0.5 and Phoca maps plugin v. 2.0.5 enabling it.
When i create a new map i can see it choosing coordinates with the mouse but when i copy and paste the code {phocamaps view=map|id=1} in an article the map is not showing.
Width and height are right but the space is blank.

I tried to disable the plugin and i can see the code {phocamaps view=map|id=1} in the article.
Tried to uninstall and reinstall too but with the same result.

What can i do? I need this, if it will work is the best component for google maps!

Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Maps not showing in articles

Post by Jan »

Hi, is the plugin enabled and published? Do you get some javascript error on that site?
If you find Phoca extensions useful, please support the project
Lox87
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Apr 2012, 15:12

Re: Maps not showing in articles

Post by Lox87 »

Yes plugin enabled and no javascript errors

I tried it in an other site and it work, so there is a problem in this site.

With the console i found this error:

<div id="phocamaps-box"><div class="pmbox-grey" ><div><div><div><div id="phocaMapPlgPM1" style="width:500px;height:400px"></div></div></div></div></div></div><script type="text/javascript">//<![CDATA[
google.load("maps", "3", {other_params:"sensor=false"});

Uncaught ReferenceError: google is not defined
(anonymous function)


google.load("search", "1");

var tstPhocaMapPlgPM1 = document.getElementById('phocaMapPlgPM1');
var tstIntPhocaMapPlgPM1;
var mapPhocaMapPlgPM1;




Disabling all plugins and modules installed does not change anything
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Maps not showing in articles

Post by Jan »

Hmm, this seems like some problem while loading external google library on your server :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply