At #chromedevsummit with @goldsounds. He’ll be speaking later about PWAs and #WordPress via #Jetpack

At #chromedevsummit with @goldsounds. He’ll be speaking later about PWAs and #WordPress via #Jetpack

At #chromedevsummit with @goldsounds. He’ll be speaking later about PWAs and #WordPress via #Jetpack

Posted on Instagram 12:32 pm, October 23, 2017 jQuery(document).ready(function(){ var gmap_m05762764a86af7c695fe8d385ee0385c = { positions : { 440 : new google.maps.LatLng( ‘37.784916242722’, ‘-122.40201715675’ ) }, bounds : new google.maps.LatLngBounds(), // empty for now, we’ll dynamically extend it later map : new google.maps.Map( document.getElementById( ‘gmap_m05762764a86af7c695fe8d385ee0385c’ ), { 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_m05762764a86af7c695fe8d385ee0385c.positions ) { gmap_m05762764a86af7c695fe8d385ee0385c.bounds.extend( gmap_m05762764a86af7c695fe8d385ee0385c.positions[m] ); } // Render markers for ( var m in gmap_m05762764a86af7c695fe8d385ee0385c.positions ) { gmap_m05762764a86af7c695fe8d385ee0385c.markers[m] = new google.maps.Marker( { clickable: true, map : gmap_m05762764a86af7c695fe8d385ee0385c.map, position : gmap_m05762764a86af7c695fe8d385ee0385c.positions[m] } ); } // Redraw map to fit our new marker-based bounds gmap_m05762764a86af7c695fe8d385ee0385c.map.setCenter( gmap_m05762764a86af7c695fe8d385ee0385c.positions[440] ); });