Google Map sizing

Phoca Gallery - image gallery extension
gooner67
Phoca Member
Phoca Member
Posts: 17
Joined: 14 May 2020, 19:12

Re: Google Map sizing

Post 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
User avatar
christine
Phoca Hero
Phoca Hero
Posts: 2981
Joined: 28 Nov 2010, 17:20

Re: Google Map sizing

Post 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
gooner67
Phoca Member
Phoca Member
Posts: 17
Joined: 14 May 2020, 19:12

Re: Google Map sizing

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10088
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Google Map sizing

Post by Benno »

Sure but as in post #2 written, with OSM. See: https://www.reisefotografien.eu/reisefo ... ypten-2024

Kind regards,
Benno
Post Reply