Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

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