Fixes _setupMap reference of undefined class property
This commit is contained in:
@@ -53,6 +53,7 @@ my.Map = Backbone.View.extend({
|
|||||||
|
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
this.options = options;
|
||||||
this.visible = this.$el.is(':visible');
|
this.visible = this.$el.is(':visible');
|
||||||
this.mapReady = false;
|
this.mapReady = false;
|
||||||
// this will be the Leaflet L.Map object (setup below)
|
// this will be the Leaflet L.Map object (setup below)
|
||||||
|
|||||||
Reference in New Issue
Block a user