Two or three different Google Maps in the article
-
- Phoca Member
- Posts: 17
- Joined: 18 Oct 2021, 21:38
Two or three different Google Maps in the article
Have any of you managed to include two or three different Google maps in one article? Do your maps display correctly?
- Benno
- Phoca Hero
- Posts: 9580
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Two or three different Google Maps in the article
Hi,
I cannot answer whether and how this works with Google Maps. I no longer invest any time in Google products. But with OpenStreetMap it's no problem:

Kind regards,
Benno
I cannot answer whether and how this works with Google Maps. I no longer invest any time in Google products. But with OpenStreetMap it's no problem:

Kind regards,
Benno
-
- Phoca Member
- Posts: 17
- Joined: 18 Oct 2021, 21:38
Re: Two or three different Google Maps in the article
Google Maps doesn't work if there are more than 1.
- Jan
- Phoca Hero
- Posts: 48528
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Two or three different Google Maps in the article
Hi, testing now, everything is OK for me, I normally run e.g. 3 Google Maps on the article page. Try to see Javascript console of the browser if there is no Javascript error on your site which can prevent from displaying the maps 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 18 Oct 2021, 21:38
Re: Two or three different Google Maps in the article
Indeed. The problem only occurs when we want to insert two different google maps through the module. How can this be done?
- Jan
- Phoca Hero
- Posts: 48528
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Two or three different Google Maps in the article
Hi, what do you mean with "through the module"?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 18 Oct 2021, 21:38
Re: Two or three different Google Maps in the article
I create a module, in this module enter the map code, and then place the module on the website.
In this way I would like to show different maps to different recipients.
In this way I would like to show different maps to different recipients.
-
- Phoca Hero
- Posts: 2857
- Joined: 28 Nov 2010, 17:20
Re: Two or three different Google Maps in the article
Hi,
Not sure: If this is a custom module, try: Options: Prepare content Yes
Kind regards
Christine
Not sure: If this is a custom module, try: Options: Prepare content Yes
Kind regards
Christine
- Jan
- Phoca Hero
- Posts: 48528
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Two or three different Google Maps in the article
When you add the codes to the article, is it OK? The plugin in article can check for loaded Javascript libraries, so maybe this can be somehow wrong in module. So no error message in Javascript console?
Jan
Jan
If you find Phoca extensions useful, please support the project