How to use the tangram/dist/tangram.debug.version function in tangram

To help you get started, we’ve selected a few tangram examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nextzen / nextzen.js / src / js / components / tangram.js View on Github external
leafletLayer.on('init', function () {
      self.fire('loaded', {
        layer: leafletLayer,
        version: Tangram.version
      });
    });
    return leafletLayer;
github nextzen / nextzen.js / src / js / components / tangram.js View on Github external
initialize: function (opts) {
    this.options = L.Util.setOptions(this, opts);
    this.debug = Tangram.debug;
    this.version = Tangram.version;
    this.hasWebGL = this._hasWebGL();
  },