Page 2 of 2
Re: Google Map sizing
Posted: 03 Apr 2026, 10:52
by gooner67
Hi Christine
As you can see in your posted image, the map is narrow and deep not 600x400. Also the map is always off to the left, probably because the window size is wrong, and you have to drag the map to the right to see the pinned point on the map where the photo was taken.
Thanks for your help, I have no hair left trying to fix this.
Alan
Re: Google Map sizing
Posted: 03 Apr 2026, 14:25
by christine
Hi Alan,
Code: Select all
#pgCategoryModalIframe, .modal iframe, iframe.aspect, iframe.map {
width: 100%;
height: 100%;
aspect-ratio: 600/400;
pointer-events: none; /*touchscreen*/
}
add: aspect-ratio > ev. with different values
then I see the pinned point
Kind regards
Christine
Re: Google Map sizing
Posted: 03 Apr 2026, 22:27
by gooner67
Does anyone have maps working correctley using the icon as I have set up so i can see it working it may be something simple i have overlooked but nothing is working.
Re: Google Map sizing
Posted: 03 Apr 2026, 23:53
by Benno
Sure, but as written in post #2 with OSM. See:
https://www.reisefotografien.eu/reisefo ... ypten-2024
Kind regards,
Benno
Re: Google Map sizing
Posted: 04 Apr 2026, 10:30
by christine
It works when entered temporarily:
https://imgur.com/a/PbwUghf
You're using a lot of inline code. You should create a custom.css file. See here (Custom CSS Area):
https://www.joomshaper.com/documentatio ... ss-js-meta
Kind regards,
Christine
Re: Google Map sizing
Posted: 07 Apr 2026, 09:24
by gooner67
Hi Christine
I have discovered what is causing it. It is the Detail View in the Options Page. To get it to work I have had to change the view to a standard pop up menu, which I dont like, rather than the photoswipe view which I do like.
Thanks for all you efforts to try and help me find the problem, Ill just have to put up with the way it looks in the standard pop up menu.
Alan Morris.