diff --strip-trailing-cr -ru zenphoto_1.2.9_stock/zp-core/zp-extensions/google_maps/phoogle.php zenphoto/zp-core/zp-extensions/google_maps/phoogle.php --- zenphoto_1.2.9_stock/zp-core/zp-extensions/google_maps/phoogle.php 2010-03-01 06:52:26.000000000 +0100 +++ zenphoto/zp-core/zp-extensions/google_maps/phoogle.php 2010-04-07 23:32:39.000000000 +0200 @@ -249,6 +249,9 @@ case 'Large': $this->controlType = 'map.addControl(new GLargeMapControl());'; break; + case 'Large3D': + $this->controlType = 'map.addControl(new GLargeMapControl3D());'; + break; default: $this->controlType = $controlmap; } @@ -305,7 +308,6 @@
0 ) { + $all_images=$_zp_current_album->getImages(0); + foreach( $all_images as $image ) { + $imageClass=newImage($_zp_current_album,$image); + $exif=$imageClass->getMetaData(); + if(!empty($exif['EXIFGPSLatitude']) && !empty($exif['EXIFGPSLongitude'])){ + return true; + } + } + } +return false; +} + +/** * Adds a geoPoint after first insuring it uses periods for the decimal separator * * @param string $lat Latitude of the point @@ -296,7 +318,7 @@ if($exif['EXIFGPSLongitudeRef'] == 'W'){ $long = '-' . $long; } $infoHTML = '' . getImageDesc() . '' . getImageDesc(); + 'style=" margin-left: 30%; margin-right: 10%; border: 0px; " />

' . getImageDesc()."

"; addPoint($lat, $long, js_encode($infoHTML)); } } @@ -321,4 +343,4 @@ } } -?> \ No newline at end of file +?>