hjg
2024-07-09 30304784e82d4bba24121328da8eb8490aec4f4f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
var ContactUs = function () {
 
    return {
        //main function to initiate the module
        init: function () {
            var map;
            $(document).ready(function(){
              map = new GMaps({
                div: '#map',
                lat: -13.004333,
                lng: -38.494333
              });
               var marker = map.addMarker({
                    lat: -13.004333,
                    lng: -38.494333,
                    title: 'Loop, Inc.',
                    infoWindow: {
                        content: "<b>Loop, Inc.</b> 795 Park Ave, Suite 120<br>San Francisco, CA 94107"
                    }
                });
 
               marker.infoWindow.open(map, marker);
            });
        }
    };
 
}();