aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/around.js
blob: ba0e62e26d87f4a5c4393eb2d40094aca6a4fe13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;(function (FMS, Backbone, _, $) {
    _.extend( FMS, {
        AroundView: FMS.FMSView.extend({
            template: 'around',
            tag: 'div',
            id: 'around-page',

            afterDisplay: function() {
                console.log( 'around after display');
                fixmystreet.latitude = 56.33182;
                fixmystreet.longitude = -2.79483;

                show_map();
                console.log('map shown');
            }
        })
    });
})(FMS, Backbone, _, $);