Page 1 of 1
Google Map sizing
Posted: 03 Mar 2026, 11:19
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.
Re: Google Map sizing
Posted: 07 Mar 2026, 10:39
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?
Re: Google Map sizing
Posted: 07 Mar 2026, 13:01
by Benno
Hi,
did you also check this issues with OpenStreetMap?
Because I don't have problems of this kind with OSM:
See:
https://www.reisefotografien.eu/reisefo ... ypten-2024
Kind regards,
Benno
Re: Google Map sizing
Posted: 07 Mar 2026, 19:16
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
Re: Google Map sizing
Posted: 10 Mar 2026, 12:07
by gooner67
Im not using OpenStreetMaps because I can't work out how to get an API key from the website, and the Google maps works fine in the GeoTagging map at the bottom of each category, as you can see here
https://alan-morris.es/photos/travel/es ... arbourtour it is only when I click on a photo map icon that the map opens incorrectly. The map box opens full size but the map is a narrow strip and always to the left of the pinned place.
Re: Google Map sizing
Posted: 10 Mar 2026, 12:09
by gooner67
christine wrote: 07 Mar 2026, 19:16
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
Thanks Christine but it didnt make a difference. The map that is wrong is the one you get by click on the map icon on an individual photo, the category (geotagging) map at the bottom of the screen on a category is correct.
Re: Google Map sizing
Posted: 10 Mar 2026, 12:36
by Benno
Hi,
Im not using OpenStreetMaps because I can't work out how to get an API key from the website
You don't need any API key to display standard OSM maps, nor do you need to register at
www.openstreetmap.org
Kind regards,
Benno
Re: Google Map sizing
Posted: 10 Mar 2026, 17:15
by christine
gooner67 wrote: 10 Mar 2026, 12:09
christine wrote: 07 Mar 2026, 19:16
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
Thanks Christine but it didnt make a difference. The map that is wrong is the one you get by click on the map icon on an individual photo, the category (geotagging) map at the bottom of the screen on a category is correct.
Which "map icon" do you mean? My way was:
https://imgur.com/a/cJR8HCS
https://imgur.com/a/C3jZIim
after the Code:
https://imgur.com/a/hbQOJ3Y
Kind regards,
Christine