1 year Anniversary
Posted on Flickr 5:20 pm, June 2, 2012 jQuery(document).ready(function(){ var gmap_me3302e53e6be176209f5c739b5ab5f8c = { positions : { 411 : new google.maps.LatLng( ‘37.773333’, ‘-122.421334’ ) }, bounds : new google.maps.LatLngBounds(), // empty for now, we’ll dynamically extend it later map : new google.maps.Map( document.getElementById( ‘gmap_me3302e53e6be176209f5c739b5ab5f8c’ ), { 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_me3302e53e6be176209f5c739b5ab5f8c.positions ) { gmap_me3302e53e6be176209f5c739b5ab5f8c.bounds.extend( gmap_me3302e53e6be176209f5c739b5ab5f8c.positions[m] ); } // Render markers for ( var m in gmap_me3302e53e6be176209f5c739b5ab5f8c.positions ) { gmap_me3302e53e6be176209f5c739b5ab5f8c.markers[m] = new google.maps.Marker( { clickable: true, map : gmap_me3302e53e6be176209f5c739b5ab5f8c.map, position : gmap_me3302e53e6be176209f5c739b5ab5f8c.positions[m] } ); } // Redraw map to fit our new marker-based bounds gmap_me3302e53e6be176209f5c739b5ab5f8c.map.setCenter( gmap_me3302e53e6be176209f5c739b5ab5f8c.positions[411] ); });
