Hi sbillard
I encountered another problem. I can populate the geodata from the images and display the map with markers. This works perfectly on my search site now (e.g. http://www.strukturlos.ch/zenphoto/page/search/biene).
However, if I click on one of the markers, the info bubble content is empty. On the normal album page it displays the image name in the bubble. I tried to stick to the effervescence+ album page to see how the image name is collected there, but I really can't find a solution how to collect the data and pass it to the printGoogleMap() function.
Maybe you have a solution?
Here the code for my image-<div> on the search page:
<?php if (getNumImages() > 0) { ?>
<div id="images">
<?php
while (next_image()) {
if ($map) {
$coord = getGeoCoord($_zp_current_image);
if ($coord) {
$coord['desc'] = '<p align=center>'.$coord['desc'].'</p>';
$points[] = $coord;
}
}
?>
<div class="image">
<div class="imagethumb"><a>" title="<?php echo getBareImageTitle();?>"><?php printImageThumb(getBareImageTitle()); ?></a></div>
</div>
<?php } ?>
</div>
<br clear="all" />
<?php } ?>
And after that I use the map_callback as follows:
`<?php
if (!empty($points) && map) {
function map_callback($map) {
global $points;
foreach ($points as $coord) {
addGeoCoord($map, $coord);
}
}
?>
<div id="map_link">
<?php printGoogleMap(NULL, NULL, NULL, 'album_page', 'map_callback'); ?>
</div>
<?php
}
?>`