Page 1 of 2
Can't see markers description?
Posted: 02 Mar 2011, 09:43
by StreamAlex
When I try to hover a marker the icon still is this:

. And I cant click at the marker.
My markers description worked fine a couple of days ago. But now they suddenly dont. I havent changed anything at the site since last time they worked.
Joomla 1.6
Can't give you website address sorry.
Re: Can't see markers description?
Posted: 03 Mar 2011, 11:37
by cmenendez
Hello.
I'm having exactly the same problem
In joomla 1.6 it worked until yesterday
Re: Can't see markers description?
Posted: 04 Mar 2011, 12:33
by StreamAlex
Someone in the phoca crew must have the answer?
Re: Can't see markers description?
Posted: 05 Mar 2011, 02:38
by el-it-e
Same here using Phoca Maps 2.0.0 RC on J 1.6.
I'm using external marker icons, switching to the default ones provided by Phoca Maps seams to circumvent the problem.
As mentioned here I didn't changed my Phoca Maps configuration these days as well.
Investigating further I found more people having similar problems. In one thread a hint is given:
Perhaps this is the time to remind you of what the documentation says
about not specifying a version:
http://code.google.com/apis/maps/docume ... asics.html
+ Choosing an API version
+ The following guidelines apply when choosing the appropriate API
+ version for your Maps API V3 application:
+ + Production applications should always specify a minor version
+ + (eg. 3.2, 3.3, etc.).
A local version of your map (minus many of the includes) works, so you
might investigate either
1. calling out version 3.3
Source:
http://groups.google.com/group/google-m ... bf9b421fb5
Looking in the Phoca Maps source code at [myjoomlafolder]/components/com_phocamaps/views/map/tmpl/default.php line 92 says:
Code: Select all
echo $map->addAjaxAPI('maps', '3.x', $this->tmpl['params']);
Using a template override (copy default.php to [templatedir]/html/com_phocamaps/map) and changing the code to
Code: Select all
echo $map->addAjaxAPI('maps', '3.3', $this->tmpl['params']);
fixed the problem here.
Maybe a workaround until a official patch is released.
Re: Can't see markers description?
Posted: 06 Mar 2011, 23:39
by cmenendez
It works
el-it-e thanks for the fix
Re: Can't see markers description?
Posted: 09 Mar 2011, 17:24
by StreamAlex
el-it-e: Thank you so so much!! It worked perfectly.
Weird that no admin/crew had this answer or any other answer to this problem.
Re: [SOLVED] Can't see markers description?
Posted: 09 Mar 2011, 17:42
by el-it-e
You're welcome!
Weird that no admin/crew had this answer or any other answer to this problem.
Maintaining a bunch of extensions is very time consuming and difficult to manage just in spare time. I'm afraid there is barely time left to answer all support problems.
So if we, the user community, could help each other, the project maintainer(s) can focus on code development.

Re: [SOLVED] Can't see markers description?
Posted: 24 Mar 2011, 16:41
by Cony
I was receiving JavaScript error upon displaying marker with custom Icon. The above code solved this also.
Just mention, if you are displaying map using plugin, you have to change the code also in the plugin. There is no override for this, the original file have to be modified.
Re: [SOLVED] Can't see markers description?
Posted: 26 Jul 2011, 22:03
by Jan
Hi, changed to "3" in 2.0.1
Jan
Can't see markers description?
Posted: 29 Aug 2011, 17:57
by cmenendez
Hello
I am having the same problem again.
As seen in
http://code.google.com/apis/maps/docume ... asics.html
"Versions 3.0 to 3.3 have been retired."
changing
Code: Select all
echo $map->addAjaxAPI('maps', '3.3', $this->tmpl['params']);
to
Code: Select all
echo $map->addAjaxAPI('maps', '3.4', $this->tmpl['params']);
does not work
Neither 3.4 and 3.5
anyone with the same problem?
Thanks