ZenphotoCMS Forum
Libratus Maps - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Libratus Maps (/thread-11921.html)



Libratus Maps - Ralf - 25-02-2015

Hi,
I have noticed that libratus supports OpenStreetMaps.

Am I right that this would be the correct plugin?
https://github.com/acrylian/zp_openstreetmap

If yes then there might be a problem in the theme:
With the plugin enabled the image and album page stops loading.
Images are displayed but then the pages stops loading and no map and no footer will be shown.


Edit:
With the google map plugin enabled i have noticed that the album page loads fairly fast but on the image page there is a delay until the map will be displayed which is up to 2 minutes

Ralf




Libratus Maps - acrylian - 25-02-2015

Yes, that is the right plugin, although it is not officially released yet either ;-) It is beta actually so there might be some bugs. If the page stops loading you probably get a fatal error somewhere. Please review your error logs.




Libratus Maps - Ralf - 25-02-2015

Hi,

the error on the album page is:
NOTICE: Undefined variable: _zp_current_search in /zenphoto/plugins/zp_openstreetmap.php in Zeile 350

zpOpenStreetMap->__construct called from include (album.php [59])

Edit:
Line 59 of album.php is:
$map = new zpOpenStreetMap();




Libratus Maps - acrylian - 25-02-2015

Thanks, just a missing global define. Fixed in the repo. If you find more issue like this best open tickets right on the repo.