Problem with 2 maps in the same page

Phoca Maps - displaying maps in Joomla! CMS
mfiorentini
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Jan 2017, 11:55

Problem with 2 maps in the same page

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

Re: Problem with 2 maps in the same page

Post by Jan »

Hi, what exactly is the problem? I can zoom both maps without any problem?

Jan
If you find Phoca extensions useful, please support the project
mfiorentini
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Jan 2017, 11:55

Re: Problem with 2 maps in the same page

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

Re: Problem with 2 maps in the same page

Post 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
If you find Phoca extensions useful, please support the project
Post Reply