added no_cdn option no windhsaft provider
This commit is contained in:
parent
b47d0359b0
commit
a36d1871ba
2
NEWS
2
NEWS
@ -1,6 +1,8 @@
|
||||
2.4.xx
|
||||
- Adds support for several auth_token param
|
||||
- Adds support for cdn_url in winshaft provider
|
||||
- Add option to jsonp to set custom callback name
|
||||
- Add no_cdn option to windshaft provider
|
||||
|
||||
2.4.01
|
||||
- fixed rectangle anchor and size #42
|
||||
|
@ -353,7 +353,7 @@
|
||||
url: function() {
|
||||
var opts = this.options;
|
||||
var protocol = opts.tiler_protocol || 'http';
|
||||
if (!this.options.cdn_url) {
|
||||
if (!this.options.cdn_url || this.options.no_cdn) {
|
||||
return this._tilerHost();
|
||||
}
|
||||
var h = protocol + "://"
|
||||
|
Loading…
Reference in New Issue
Block a user