Page 1 of 2

Info marker not closing

Posted: 07 May 2013, 15:53
by robstra
Hi,

We are using Phoca Maps, which is great! On a single map we have various markers. Opening a marker is no problem. Clicking the next
marker, the previous one stays open. When we keep clicking, all the marker windows will stay open.

We use the setting "Open Marker Window" = NO and "Close Opened Window" is set to YES.

Joomla! 2.5.11
Phoca maps Version 2.0.6

On this forum we found several "solutions" to this problem, even editing PHP files, but none of the works for us. In the latest version
this problem should also be solved, but not for us :)

At this point we have no clue where to look of find the solution. Does anybody no where else to look in settings or other hints and tips?

regards,
Rob

Re: Info marker not closing

Posted: 07 May 2013, 21:04
by Jan
Hi, it was added to version 2.0.6:
https://www.phoca.cz/news/658-phoca-maps-206-released

Testing now and it is working Ok, do you get any error message on your site (javascript message? - check javascript console of your browser)

Re: Info marker not closing

Posted: 08 May 2013, 11:34
by robstra
Hello Jan,

Thanks for your reply. Checked the javascript console, no errors. Set up a clean Joomla installation, installed Phocamaps, phocamaps plugin, with correct settings, same issue.

Strange thing is that using {phocamaps view=map|id=1} in text, the marker windows don't close, but using the map as a pop-up with {phocamaps view=link|id=1|text=Map}, the marker windows do close .... weird!?

We also tried different servers, different templates, clean Joomla 2.5 installation, what else can we check? :)

Regards,

Rob

Re: Info marker not closing

Posted: 22 May 2013, 18:32
by Jan
Hi, now I see it (maybe). The plugin does not have such feature - this is only possible in component - do you get the problem in component too?

Re: Info marker not closing

Posted: 29 Jul 2013, 16:22
by iaweb2
I have exactly the same problem, anybody found a resolution for this?

In addition, here maybe to illustrate it a bit more two screenshots of the different way the Markers pop-up

Here for the screenshot when it is embedded in the article:
Image

and here the image when used as popup from the MAP link inside the article
Image

Thanks for any help possible,


Heiko

Re: Info marker not closing

Posted: 01 Aug 2013, 00:01
by Jan
Hi, try to test it with other template, seems like you have some template which includes e.g. bootstrap (it is not loaded in popup) which breaks the images in maps. In last versions of Phoca Maps, there is a code which solves this - which overrides the bootstrap problematic code.

Re: Info marker not closing

Posted: 02 Aug 2013, 00:26
by iaweb2
Hello Jan, Thanks for the answer, and yes you are correct, we use JA_Mero from Joomlart, which loads the bootstrap. Unfortunately I need to use this as this is the choice of the client...

In regards to the latest version, we are using Component 2.0.6 and Plugin 2.0.5 for Joomla 2.5 which are the latest versions... Can we use the V3.0.0 versions for Joomla 3.0 on Joomla 2.5? Or is there a newer version for 2.5 available?

Thanks a lot for some great components and all the help...

Heiko

Re: Info marker not closing

Posted: 05 Aug 2013, 13:36
by Jan
Hi, if you are using Joomla! 2.5 you cannot use the Phoca Maps 3 but just add the style attributes to your template (see google: bootstrap, image width problems or copy the style from Phoca Maps 3)

This should help (but not tested for Joomla! 2.5 - maybe there can be different class names):

Code: Select all

/* Bootstrap */
#phocamaps img {
  max-width: none;
}
#phocamaps.phocamaps img {
   border: 0px;
   box-shadow: 0px;
   margin: 0px;
   max-width: none !important;
}
#phocamaps-box img {
   max-width:none !important;
}

Re: Info marker not closing

Posted: 10 Aug 2013, 05:03
by iaweb2
Hello Jan, thank you very much, that fixed it ...

Heiko

Re: Info marker not closing

Posted: 13 Aug 2013, 19:06
by Jan
Ok