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 in post #2 written, with OSM. See: https://www.reisefotografien.eu/reisefo ... ypten-2024

Kind regards,
Benno