Member
Member
olihar   2008-10-10, 12:50
#1
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.

`
<?php if (function_exists('printAlbumMap')) printAlbumMap(NULL, "G_SATELLITE_MAP", '720', '350', "test", false, "googlemap" ); ?>
`
I must be blind.
Member
Member
sbillard   2008-10-10, 17:31
#2
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.
Member
Member
olihar   2008-10-11, 01:08
#3
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.
Member
Member
sbillard   2008-10-11, 02:34
#4
change is up and working. Try tonight's build.
Member
Member
olihar   2008-10-11, 03:21
#5
thanks a lot Stephen I will give it a try asap.
Member
Member
olihar   2008-10-11, 07:06
#6
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 `%22`is commin from
Member
Member
sbillard   2008-10-11, 17:18
#7
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.
Member
Member
olihar   2008-10-11, 23:31
#8
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
Member
Member
olihar   2008-10-12, 07:21
#9
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?
Member
Member
sbillard   2008-10-12, 21:24
#10
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.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.