Geographer

Geographer

IMG_5519

Geographer

Posted on Flickr 7:00 pm, August 24, 2013 jQuery(document).ready(function(){ var gmap_mff8f6256c73322409d2f24ff6aac7f81 = { positions : { 670 : new google.maps.LatLng( ‘40.7205’, ‘-73.993667’ ) }, bounds : new google.maps.LatLngBounds(), // empty for now, we’ll dynamically extend it later map : new google.maps.Map( document.getElementById( ‘gmap_mff8f6256c73322409d2f24ff6aac7f81’ ), { 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_mff8f6256c73322409d2f24ff6aac7f81.positions ) { gmap_mff8f6256c73322409d2f24ff6aac7f81.bounds.extend( gmap_mff8f6256c73322409d2f24ff6aac7f81.positions[m] ); } // Render markers for ( var m in gmap_mff8f6256c73322409d2f24ff6aac7f81.positions ) { gmap_mff8f6256c73322409d2f24ff6aac7f81.markers[m] = new google.maps.Marker( { clickable: true, map : gmap_mff8f6256c73322409d2f24ff6aac7f81.map, position : gmap_mff8f6256c73322409d2f24ff6aac7f81.positions[m] } ); } // Redraw map to fit our new marker-based bounds gmap_mff8f6256c73322409d2f24ff6aac7f81.map.setCenter( gmap_mff8f6256c73322409d2f24ff6aac7f81.positions[670] ); });