File: //home/arjun/projects/buyercall_new/buyercall/buyercall/static/js/pages/readyProfile.js
/*
* Document : readyProfile.js
* Author : pixelcave
* Description: Custom javascript code used in User Profile page
*/
var ReadyProfile = 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 Container
$('.gmap').css('height', '280px');
// Initialize map with marker
new GMaps({
div: '#gmap-checkin',
lat: -33.849,
lng: 151.216,
zoom: 14,
disableDefaultUI: true,
scrollwheel: false
}).addMarkers([
{lat: -33.849, lng: 151.216, title: 'Marker', animation: google.maps.Animation.DROP, infoWindow: {content: '<strong>The Awesome Beer!</strong>'}}
]);
}
};
}();