Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}, this);
// this.listenTo(this.model, 'change:line_width', function () {
// this.refresh();
// }, this);
}
})
var SuperMapEchartsLayerView = leaflet.LeafletLayerView.extend({
create_obj: function () {
var options = this.model.get('option');
this.obj = L.supermap.echartsLayer(options);
}
})
var SuperMapMapView = leaflet.LeafletMapView.extend({
create_obj: function () {
var that = this;
var options = this.get_options();
options.crs = L.CRS[options.crs]
that.obj = L.map(this.el, options);
var fit_bounds = that.model.get('fit_bounds')
if (fit_bounds.length === 2) {
that.obj.fitBounds(fit_bounds);
that.update_bounds();
this.model.set('zoom', that.obj.getZoom());
}
}
})
var SuperMapCloudTileLayerModel = leaflet.LeafletTileLayerModel.extend({