HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
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>'}}
            ]);
        }
    };
}();