Page 1 of 1
Joomla 4.2.2 and PhocaMap com/plg 4.0.0 - Map doesnt show up
Posted: 26 Sep 2022, 15:12
by christoph.mue
hello,
I'm using Joomla 4.2.2, actually with xampp. Plugin and Component (v4.0.0) installed and activated. created a map and a marker, both published. defined all options width/height, longitude, zoom, etc. . Insert code in an article with basic code:
I just see a grey line.
what else can possibly wrong?
Re: Joomla 4.2.2 and PhocaMap com/plg 4.0.0 - Map doesnt show up
Posted: 26 Sep 2022, 20:05
by Benno
Hi,
since Phoca Maps v4.0.0 it's not enough to set values for map width and height, you also need to set their units like: px, %
See image:
Kind regards,
Benno
Re: Joomla 4.2.2 and PhocaMap com/plg 4.0.0 - Map doesnt show up
Posted: 26 Sep 2022, 20:30
by christoph.mue
Hi!
Thats it, thank you very much!
Re: Joomla 4.2.2 and PhocaMap com/plg 4.0.0 - Map doesnt show up
Posted: 26 Sep 2022, 22:12
by Benno
You're welcome!
Kind regards,
Benno
Re: Joomla 4.2.2 and PhocaMap com/plg 4.0.0 - Map doesnt show up
Posted: 14 Feb 2023, 05:00
by ecat42
Thank you for helping with this answer. I had 2 Phoca maps on my website. One would not show up. I read your post and put 'px' after the value and it worked. The reason why the other map was showing after the upgrade to Joomla4 was because I had left the height and width values at default '0'. It appears that the default value of 0 does not need 'px'.
Thanks again!
Re: Joomla 4.2.2 and PhocaMap com/plg 4.0.0 - Map doesnt show up
Posted: 14 Feb 2023, 12:43
by Benno
@ecat42 You're welcome!
Kind regards,
Benno