aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/around.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r--www/js/views/around.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
new file mode 100644
index 0000000..ba0e62e
--- /dev/null
+++ b/www/js/views/around.js
@@ -0,0 +1,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, _, $);