Hello -
So I am now mucking around with making my own theme - customizing layout all that stuff (and what a challenge that is between the css and trying to understand the available ZenPhoto options) and I wanted to know if it was possible to change the marker and zoom scale of the map.
I have looked at the printImageMap function in the template-functions.php and noticed that the zoomscale is set to "6" for images and "8" for albums - can I just change it right here?
Can I change other things like the marker symbol, the default map type, ummm scale representation?
In the printAlbumMap function I noticed that the markers have balloons that open up with a thumbprint of the image and the description - but the balloon often doesn't stretch to cover the background of the image and desc - what can be done about that.
Can I read info from the database to create my own GoogleMaps page?
How do I show just the lat/long - maybe above the map?
Thanks for whatever help I can get!
Nif
Cbunny:
You can pass the scale you want as a parameter when you call printImageMap. Just use printImageMap($scale); where you have set $scale to the size you want.
The second parameter is the map type, so you can change that by passing a parameter. The allowed values are G_NORMAL_MAP, G_SATELLITE_MAP, and G_HYBRID_MAP. I don't know off hand how you would change the marker and scale representations.
No idea
The gps data is stored in the database. See the function getImageEXIFData() The code zenphoto uses is in the file zp-core/plugins/phooglelite.php
presumably you could use:
`$exif = getImageEXIFData();
echo "Latitude: " . $exif['EXIFGPSLatitude']' . " Longitude:" . $exif['EXIFGPSLongitude'];`
OK -
I'm having other difficulties now - number of imagethumbs showing, map sometimes showing sometimes not showing on album pages and this css stuff it confusing - not my natural habitat.
Anyway - I think - to change stuff details about the map: marker, default type, etc. the javascript is within the phooglelite.php
I will post a different topic for the map not showing up.
Nif