Hi,
I have a similar problem. I would like to adjust the height of the map, but as soon as I enter a value, with or without units, the map becomes just a thin line on the front end. Height must be 0 or blank to get the map.
My config : Joomla 4.0.6, Phoca Maps 4.0.0Beta, Phoca Maps Plugin 4.0.0Beta2.
Regards
Map not showing in Joomla 4
-
- Phoca Newbie
- Posts: 2
- Joined: 17 Feb 2022, 10:24
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Map not showing in Joomla 4
Hi, in Joomla 4 you can set own units there: 5em, 50%
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 17 Feb 2022, 10:24
Re: Map not showing in Joomla 4
Hi Jan,
Thank you for your reply.
"%" does'nt work, but with "em" unit, the Heigth ajust of the map works correctly.
Regards
Thank you for your reply.
"%" does'nt work, but with "em" unit, the Heigth ajust of the map works correctly.
Regards
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
- Phoca Newbie
- Posts: 6
- Joined: 28 Oct 2019, 18:59
Re: Map not showing in Joomla 4
Just wanted to thank you Benno. I was having problems getting the map to show, but I solved it by adding px to the map size. Thanks for the solution!Benno wrote: ↑28 Jan 2022, 15:00 Hi Chris,
Supplementary question:
Did you enter values in the fields for width and height of the map?
backend --> Components --> Phoca Maps --> Maps
If yes, there must be also size units behind them (e.g. px, %)
If you do not set any size units but values, you will see a narrow gray horizontal bar instead of the map in the frontend.
Kind regards,
Benno
- Benno
- Phoca Hero
- Posts: 9435
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Map not showing in Joomla 4
@dc41
thanks for feedback
Kind regards,
Benno
thanks for feedback
Kind regards,
Benno
-
- Phoca Professional
- Posts: 100
- Joined: 16 Mar 2014, 13:23