Republica Dominica
Posted on Flickr 1:34 pm, December 30, 2013 jQuery(document).ready(function(){ var gmap_md201a7c13c96ea6555bf0c7c38b9d125 = { positions : { 515 : new google.maps.LatLng( ‘19.088013’, ‘-70.641992’ ) }, bounds : new google.maps.LatLngBounds(), // empty for now, we’ll dynamically extend it later map : new google.maps.Map( document.getElementById( ‘gmap_md201a7c13c96ea6555bf0c7c38b9d125’ ), { 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_md201a7c13c96ea6555bf0c7c38b9d125.positions ) { gmap_md201a7c13c96ea6555bf0c7c38b9d125.bounds.extend( gmap_md201a7c13c96ea6555bf0c7c38b9d125.positions[m] ); } // Render markers for ( var m in gmap_md201a7c13c96ea6555bf0c7c38b9d125.positions ) { gmap_md201a7c13c96ea6555bf0c7c38b9d125.markers[m] = new google.maps.Marker( { clickable: true, map : gmap_md201a7c13c96ea6555bf0c7c38b9d125.map, position : gmap_md201a7c13c96ea6555bf0c7c38b9d125.positions[m] } ); } // Redraw map to fit our new marker-based bounds gmap_md201a7c13c96ea6555bf0c7c38b9d125.map.setCenter( gmap_md201a7c13c96ea6555bf0c7c38b9d125.positions[515] ); });
