ZenphotoCMS Forum
Google map Satellite - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Google map Satellite (/thread-2749.html)



Google map Satellite - olihar - 2008-10-10

I am trying to get G_SATELLITE_MAP to work, I have tried many things however I still just get the standard map.

this is the code I have right now.

`

`
I must be blind.




Google map Satellite - sbillard - 2008-10-10

Looks like the function to set this is missing from the current phoogle.php script. I will see if I can add it back in based on how the old script did things. But if Googlemaps itself has changed this may not be possible.




Google map Satellite - olihar - 2008-10-11

they state the G_SATELLITE_MAP is still in the API version 2, I am not fully into the phoogle script here tough.

http://code.google.com/apis/maps/documentation/upgrade.html

Keep me posted about changes, thanks.




Google map Satellite - sbillard - 2008-10-11

change is up and working. Try tonight's build.




Google map Satellite - olihar - 2008-10-11

thanks a lot Stephen I will give it a try asap.




Google map Satellite - olihar - 2008-10-11

I installed it and it works fine now with picking the Satellite or Hybrid.

however now the auto zoom function seems to be a bit off.

printAlbumMap(NULL, "G_HYBRID_MAP", '720', '350', "test", false, "googlemap" ); ?>

NULL should auto zoom!

as well as when you click a point the photo does not show up, just a question mark(safari) When the question mark is clicked it takes you to a wrong location. the url has 2 strange markings in them.

http://www.yoururl.com/%22/album/Test/2008_10_06_223628R-1.jpg.php/%22

I wonder where the %22is commin from




Google map Satellite - sbillard - 2008-10-11

I have found the problem with the URLs. The fix is in the current SVN. I do not know how to set auto-zoom. I do not see that there has been any change in this area, though.




Google map Satellite - olihar - 2008-10-11

yeah because the auto zoom worked previously, it was a pretty handy feature for the maps as it centers the map for points close to each others, as well a very handy feature for me as I will be having photos from Iceland and Australia in the same album folder and it will need min zoom on the map for these folders. I will temporary put the zoom to min for now and hope for a fix. Thanks Stephen




Google map Satellite - olihar - 2008-10-12

I put up the googlemaps plugin from the zenphoto-2008-10-11-trunk.zip

I still run into problems with clicking on the map.

like this in FF
http://www.olihar.com/album/lsadfjijerase/%5C%22/album/lsadfjijerase/2008_07_19_145039R.jpg.php%5C%22
and like this in Safari

http://www.olihar.com/%22/album/lsadfjijerase/2008_07_19_145039R.jpg.php/%22
You only fixed the files in the google maps plugin right?




Google map Satellite - sbillard - 2008-10-12

Actually, the fix would be broader than the google maps plugin--The js_encode() function was double escaping characters. So the fix will apply wherever js_encode() was used.