Page 1 of 1

Problem with 2 maps in the same page

Posted: 30 Jan 2017, 12:07
by mfiorentini
Hi,
I use Phoca Maps with VirtueMart Manufacturers.
When I have a single map, it works fine (see http://katuma.it/katuma/mappa-dei-produttori).
When I have 2 maps in the same page (1 for all manufacturers and 1 for the single manufacturer), maps don't refresh in case of zoom (go to and try: http://katuma.it/katuma/i-produttori/manufacturers/sal).

Many thanks.
Kind regards,
Maurizio

Re: Problem with 2 maps in the same page

Posted: 03 Feb 2017, 01:06
by Jan
Hi, what exactly is the problem? I can zoom both maps without any problem?

Jan

Re: Problem with 2 maps in the same page

Posted: 06 Feb 2017, 11:13
by mfiorentini
Hi,
you can try in this page: http://test2.katuma.it/katuma/i-produtt ... turers/bdc
I can zoom but map doesn't refresh. If you zoom in and then zoom out, you can't see the map.
See http://it.tinypic.com/r/21owt91/9 and http://it.tinypic.com/r/jkwy0m/9

Thanks
Regards
Maurizio

Re: Problem with 2 maps in the same page

Posted: 08 Feb 2017, 17:31
by Jan
Hi, I see, hmmm, testing website with two maps:
https://www.phoca.cz/demo/phoca-maps-demo-plugin

without any problem.
Mostly when two or more maps are displayed on one page, the following warning is displayed:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
But tested on more sites, the maps render correctly even they are two or three on one website :idea:

Do you run the latest Phoca Maps component and plugin?

Jan