Google map Satellite

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.

Comments

  • 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.
  • 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.
  • change is up and working. Try tonight's build.
  • thanks a lot Stephen I will give it a try asap.
  • 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/"/album/Test/2008_10_06_223628R-1.jpg.php/"

    I wonder where the `%22`is commin from
  • 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.
  • 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
  • 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/\"/album/lsadfjijerase/2008_07_19_145039R.jpg.php\"
    `
    and like this in Safari

    `
    http://www.olihar.com/"/album/lsadfjijerase/2008_07_19_145039R.jpg.php/"
    `
    You only fixed the files in the google maps plugin right?
  • 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.
Sign In or Register to comment.