Member
Member
oliverf1   2010-04-10, 18:37
#1

Hi all,

First of all, I would like to thank you all for the excellent work you have done !
I've been using ZP since the 1.1.6 version and still think that's the best gallery.

I'm currently in the process to port all the modifications I have made in my custom 1.2.1 version to 1.2.9.
I'm trying not to modify anything in the zp-core directories in order to facilitate any future upgrade, but I had to modify somethings in the google map plugins and want to share it with you.

Here is the modifications I have done :

  • Add a function hasAlbumMapData
  • Add support for the "GLargeMapControl3D" Map control
  • remove the "windows.onload=showmap()" javascript statement which is incompatible with the "Add Comment" feature
  • Modify the addGeoPoint function to nicely (center) print the description of the image when you click on a marker

The patch is available here : http://oliverf1.free.fr/patch_googlemap_plugin

Feel free to use it if you want !

Member
Member
sbillard   2010-04-10, 19:40
#2

We'll incorporate the changes to phoogle and the centering of the description.

You can make a custom functions.php script for your theme and place the hasAlbumMapData() function there. No need to add it to the Google Maps plugin.

Member
Member
oliverf1   2010-04-10, 22:25
#3

Now that you have said it, i don't know why i don't think of it by myself !
You are definitely right the hasAlbumMapData() function I have nothing to do in the plugin.
I will move the function out of there.

Thanks for your help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.