Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
37 stars 35 forks source link

Pin is not in center in the minimap #173

Open diba78 opened 5 years ago

diba78 commented 5 years ago

Hi togehther,

i have a problem with the minimap on the photo site. the location pin is not in the center and one part of the minimap is gray.

i attached in example.

Is there any config task that can resolve this ?

Best regards.

Dirk Minimap_problem

ghost commented 5 years ago

It was different in resolution. I've also a grey field on the right.

Uli

europe1453 commented 1 year ago

I can confirm there is the same problem with OSM plugin + current Piwigo 13.6.0 release with latest Mozilla and Chromium browsers. Try to launch in browser page Inspector (press F12) or change zoom to + or - back and forth (Ctrl + +/Ctrl + 0) and ypu'll see that everything becomes look as expected. The problem is in wrong div location parameters, imho.

travelsignposts commented 1 year ago

Yes, I've been having exactly this issue since the end of 2022, but have as yet not found a solution. Currently the map appears OK and with pin centred on my iPhone, but on the desktop it appears as shown above, displaced but with a narrower map. However, if I resize the window in any way the map appears correctly with the pin centred. If I reload this corrected page, once again the map and pin is displaced as earlier. As before, a slight resize of the window (Chrome or Edge) produces the correct version. So it's a common experience.