Google Map sizing

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

Google Map sizing

Post by gooner67 »

Hi

I have added map links to my images, but the maps always open in portrait rather than landscape, and I can't seem to change their size. I want them to open as landscape and be 800x600, but nothing I do in the settings seems to help.

You can see what I mean by clicking on the map icon in the images on this page

https://alan-morris.es/photos/travel/es ... h/hobbiton

Can someone post an image showing the settings in the correct positions for me?

Thanks in Advance.
gooner67
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2020, 19:12

Re: Google Map sizing

Post by gooner67 »

I have noticed that the maps are never centred on the GPS location or pin, and have to be dragged to the correct position. I have had help fixing other problems, and this seems to be the only one I have at the moment. Any ideas?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10077
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Google Map sizing

Post by Benno »

Hi,
did you also check this issues with OpenStreetMap?
Because I don`t have this problems:
See: https://www.reisefotografien.eu/reisefo ... ypten-2024
Image

Kind regards,
Benno
User avatar
christine
Phoca Hero
Phoca Hero
Posts: 2965
Joined: 28 Nov 2010, 17:20

Re: Google Map sizing

Post by christine »

Hi,

Add the code to your template.css or, better, if you have one: to a user.css or custom.css file.
This will work temporarily on your site:

Code: Select all

#pgCategoryModalIframe, .modal iframe  {
width: 100%;  
}
Kind regards,
Christine
Post Reply