Can't see markers description?

Phoca Maps - displaying maps in Joomla! CMS
StreamAlex
Phoca Member
Phoca Member
Posts: 10
Joined: 02 Mar 2011, 09:13

Can't see markers description?

Post by StreamAlex »

When I try to hover a marker the icon still is this: Image. 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.
Last edited by StreamAlex on 05 Sep 2011, 16:38, edited 2 times in total.
cmenendez
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Mar 2011, 11:03

Re: Can't see markers description?

Post by cmenendez »

Hello.

I'm having exactly the same problem

In joomla 1.6 it worked until yesterday
StreamAlex
Phoca Member
Phoca Member
Posts: 10
Joined: 02 Mar 2011, 09:13

Re: Can't see markers description?

Post by StreamAlex »

Someone in the phoca crew must have the answer?
el-it-e
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Mar 2011, 01:41

Re: Can't see markers description?

Post 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.
cmenendez
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Mar 2011, 11:03

Re: Can't see markers description?

Post by cmenendez »

It works

el-it-e thanks for the fix
StreamAlex
Phoca Member
Phoca Member
Posts: 10
Joined: 02 Mar 2011, 09:13

Re: Can't see markers description?

Post 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.
el-it-e
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Mar 2011, 01:41

Re: [SOLVED] Can't see markers description?

Post 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. :wink:
Cony
Phoca Member
Phoca Member
Posts: 13
Joined: 24 Mar 2011, 15:51

Re: [SOLVED] Can't see markers description?

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

Re: [SOLVED] Can't see markers description?

Post by Jan »

Hi, changed to "3" in 2.0.1

Jan
If you find Phoca extensions useful, please support the project
cmenendez
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Mar 2011, 11:03

Can't see markers description?

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