Info marker not closing

Phoca Maps - displaying maps in Joomla! CMS
robstra
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 May 2013, 15:41

Info marker not closing

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

Re: Info marker not closing

Post 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)
If you find Phoca extensions useful, please support the project
robstra
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 May 2013, 15:41

Re: Info marker not closing

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

Re: Info marker not closing

Post 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?
If you find Phoca extensions useful, please support the project
iaweb2
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 Jul 2013, 16:19

Re: Info marker not closing

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

Re: Info marker not closing

Post 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.
If you find Phoca extensions useful, please support the project
iaweb2
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 Jul 2013, 16:19

Re: Info marker not closing

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

Re: Info marker not closing

Post 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;
}
If you find Phoca extensions useful, please support the project
iaweb2
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 Jul 2013, 16:19

Re: Info marker not closing

Post by iaweb2 »

Hello Jan, thank you very much, that fixed it ...

Heiko
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Info marker not closing

Post by Jan »

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