set sql_api as default provider
This commit is contained in:
parent
13c7c81e52
commit
37785c59d6
@ -196,6 +196,7 @@ GMapsTiledTorqueLayer.prototype = _.extend({}, CanvasTileLayer.prototype, {
|
|||||||
this.key = 0;
|
this.key = 0;
|
||||||
|
|
||||||
this.options.renderer = this.options.renderer || 'pixel';
|
this.options.renderer = this.options.renderer || 'pixel';
|
||||||
|
this.options.provider = this.options.provider || 'sql_api';
|
||||||
|
|
||||||
this.provider = new this.providers[this.options.provider](options);
|
this.provider = new this.providers[this.options.provider](options);
|
||||||
this.renderer = new this.renderers[this.options.renderer](null, options);
|
this.renderer = new this.renderers[this.options.renderer](null, options);
|
||||||
|
@ -155,6 +155,7 @@ L.TiledTorqueLayer = L.TileLayer.Canvas.extend({
|
|||||||
|
|
||||||
|
|
||||||
this.options.renderer = this.options.renderer || 'pixel';
|
this.options.renderer = this.options.renderer || 'pixel';
|
||||||
|
this.options.provider = this.options.provider || 'sql_api';
|
||||||
|
|
||||||
this.provider = new this.providers[this.options.provider](options);
|
this.provider = new this.providers[this.options.provider](options);
|
||||||
this.renderer = new this.renderers[this.options.renderer](null, options);
|
this.renderer = new this.renderers[this.options.renderer](null, options);
|
||||||
|
Loading…
Reference in New Issue
Block a user