Bremer Bay
Posted on Flickr 5:44 am, January 18, 2011 jQuery(document).ready(function(){ var gmap_mc3d6a0bc442ca9200276315aba88ff9c = { positions : { 50 : new google.maps.LatLng( ‘-34.393834’, ‘119.399666’ ) }, bounds : new google.maps.LatLngBounds(), // empty for now, we’ll dynamically extend it later map : new google.maps.Map( document.getElementById( ‘gmap_mc3d6a0bc442ca9200276315aba88ff9c’ ), { mapTypeId: google.maps.MapTypeId.ROADMAP, center: new google.maps.LatLng( 0, 0 ), zoom: 16 // Seems to be a good zoom for a single point } ), markers : {}, }; // end of gmap // Extend the bounds of interest based on our positions for ( var m in gmap_mc3d6a0bc442ca9200276315aba88ff9c.positions ) { gmap_mc3d6a0bc442ca9200276315aba88ff9c.bounds.extend( gmap_mc3d6a0bc442ca9200276315aba88ff9c.positions[m] ); } // Render markers for ( var m in gmap_mc3d6a0bc442ca9200276315aba88ff9c.positions ) { gmap_mc3d6a0bc442ca9200276315aba88ff9c.markers[m] = new google.maps.Marker( { clickable: true, map : gmap_mc3d6a0bc442ca9200276315aba88ff9c.map, position : gmap_mc3d6a0bc442ca9200276315aba88ff9c.positions[m] } ); } // Redraw map to fit our new marker-based bounds gmap_mc3d6a0bc442ca9200276315aba88ff9c.map.setCenter( gmap_mc3d6a0bc442ca9200276315aba88ff9c.positions[50] ); });
