parent
2bd4008f97
commit
97e2df0a8d
1 changed files with 5 additions and 2 deletions
|
@ -401,8 +401,11 @@ L.U.DataLayer = L.Evented.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
_dataUrl: function() {
|
_dataUrl: function() {
|
||||||
var template = this.map.options.urls.datalayer_view;
|
var template = this.map.options.urls.datalayer_view,
|
||||||
return L.Util.template(template, {'pk': this.umap_id, 'map_id': this.map.options.umap_id});
|
url = L.Util.template(template, {'pk': this.umap_id, 'map_id': this.map.options.umap_id});
|
||||||
|
// No browser cache for owners/editors.
|
||||||
|
if (this.map.options.allowEdit) url = url + '?' + Date.now();
|
||||||
|
return url;
|
||||||
},
|
},
|
||||||
|
|
||||||
isRemoteLayer: function () {
|
isRemoteLayer: function () {
|
||||||
|
|
Loading…
Reference in a new issue