#jetpack meetup with the local @wordpress crew
35.0805111-106.6239609
Posted on Instagram 7:00 pm, April 21, 2017 jQuery(document).ready(function(){ var gmap_m94857d6f6226018f0d78a35fdd23314c = { positions : { 931 : new google.maps.LatLng( ‘35.080511066667’, ‘-106.6239609’ ) }, bounds : new google.maps.LatLngBounds(), // empty for now, we’ll dynamically extend it later map : new google.maps.Map( document.getElementById( ‘gmap_m94857d6f6226018f0d78a35fdd23314c’ ), { 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_m94857d6f6226018f0d78a35fdd23314c.positions ) { gmap_m94857d6f6226018f0d78a35fdd23314c.bounds.extend( gmap_m94857d6f6226018f0d78a35fdd23314c.positions[m] ); } // Render markers for ( var m in gmap_m94857d6f6226018f0d78a35fdd23314c.positions ) { gmap_m94857d6f6226018f0d78a35fdd23314c.markers[m] = new google.maps.Marker( { clickable: true, map : gmap_m94857d6f6226018f0d78a35fdd23314c.map, position : gmap_m94857d6f6226018f0d78a35fdd23314c.positions[m] } ); } // Redraw map to fit our new marker-based bounds gmap_m94857d6f6226018f0d78a35fdd23314c.map.setCenter( gmap_m94857d6f6226018f0d78a35fdd23314c.positions[931] ); });
