added no_cdn option no windhsaft provider

This commit is contained in:
javi 2014-07-14 11:19:37 +02:00
parent b47d0359b0
commit a36d1871ba
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
2.4.xx 2.4.xx
- Adds support for several auth_token param - Adds support for several auth_token param
- Adds support for cdn_url in winshaft provider - 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 2.4.01
- fixed rectangle anchor and size #42 - fixed rectangle anchor and size #42

View File

@ -353,7 +353,7 @@
url: function() { url: function() {
var opts = this.options; var opts = this.options;
var protocol = opts.tiler_protocol || 'http'; var protocol = opts.tiler_protocol || 'http';
if (!this.options.cdn_url) { if (!this.options.cdn_url || this.options.no_cdn) {
return this._tilerHost(); return this._tilerHost();
} }
var h = protocol + "://" var h = protocol + "://"