Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
leafletLayer.on('init', function () {
self.fire('loaded', {
layer: leafletLayer,
version: Tangram.version
});
});
return leafletLayer;
initialize: function (opts) {
this.options = L.Util.setOptions(this, opts);
this.debug = Tangram.debug;
this.version = Tangram.version;
this.hasWebGL = this._hasWebGL();
},