File: //home/arjun/projects/buyercall_new/buyercall/buyercall/static/js/pages/readyTimeline.js
/*
* Document : readyTimeline.js
* Author : pixelcave
* Description: Custom javascript code used in Timeline page
*/
var ReadyTimeline = function() {
return {
init: function() {
/*
* With Gmaps.js, Check out examples and documentation at http://hpneo.github.io/gmaps/examples.html
*/
// Set default height to Google Maps Containers
$('.gmap').css('height', '350px');
// Initialize Timeline map
new GMaps({
div: '#gmap-timeline',
lat: -33.849,
lng: 151.216,
zoom: 14,
disableDefaultUI: true,
scrollwheel: false
}).addMarkers([
{
lat: -33.849,
lng: 151.216,
animation: google.maps.Animation.DROP,
infoWindow: {content: '<strong>The Awesome Beer!</strong>'}
}
]);
}
};
}();