Awesome panel on UX and @WordPress at #wcden

Awesome panel on UX and @WordPress at #wcden

Posted on Instagram 5:19 pm, November 16, 2013 jQuery(document).ready(function(){ var gmap_mf779c79964ae0b954bb845f3e4667453 = { positions : { 83 : new google.maps.LatLng( ‘39.749240095’, ‘-105.022607462’ ) }, bounds : new google.maps.LatLngBounds(), // empty for now, we’ll dynamically extend it later map : new google.maps.Map( document.getElementById( ‘gmap_mf779c79964ae0b954bb845f3e4667453’ ), { 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_mf779c79964ae0b954bb845f3e4667453.positions ) { gmap_mf779c79964ae0b954bb845f3e4667453.bounds.extend( gmap_mf779c79964ae0b954bb845f3e4667453.positions[m] ); } // Render markers for ( var m in gmap_mf779c79964ae0b954bb845f3e4667453.positions ) { gmap_mf779c79964ae0b954bb845f3e4667453.markers[m] = new google.maps.Marker( { clickable: true, map : gmap_mf779c79964ae0b954bb845f3e4667453.map, position : gmap_mf779c79964ae0b954bb845f3e4667453.positions[m] } ); } // Redraw map to fit our new marker-based bounds gmap_mf779c79964ae0b954bb845f3e4667453.map.setCenter( gmap_mf779c79964ae0b954bb845f3e4667453.positions[83] ); });