Piwigo / piwigo-openstreetmap

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

Request for a option : display main menu map in main page not in new page #115

Open MacGeol opened 7 years ago

MacGeol commented 7 years ago

Hi,

To me, the map displayed via the main menu is really a great capability of the plugin to navigate trough all the photos by geolocalisation. However i think that it would be far more convenient for the visitors to display the main map not in a new page or tab but directly in the site interface, so to have the same main map than today but with the header, the left menu and the footer. To do so the best way could be to integrate the possibility by the add of an option in the open street map plugin admin page. I don't think it's such a really hard thing to do... but i could be wrong. Perhaps i could try to do it on my own, but i think many users could be interested in that option.

Perhaps an over thing would be to have the possibility to integrate a main map in a bloc by PWG Stuffs, even then it is possible by the add of an iFrame containing the url of the main map.

Thanks a lot

MacGeol commented 7 years ago

Hi again,

Finally the simple deal is to use the plugin additional pages to create a new page "OSWORLDMAP" and just put an iframe containing the osmap address like this (in my site) 👍

But still i think an option could be useful and cleaner.

xbgmsharp commented 7 years ago

I am not a fan of iframe. I don;t think there is a plugin call for change the all content. Sound more like a template than a pluin change. I am working on wolrmap V4 with include navigation capabilities like Google Map and other.

MacGeol commented 7 years ago

Thanks for your answer. And sorry for the delay. I had to work on other projects these last days. I'm not an iframe fan too, but this was the simplest and quickest way i found to integrate your great main map in index page. But if you have some other ideas, tell me and perhaps i would be able to try it.