remove unused functions
This commit is contained in:
parent
45c86768c9
commit
465c689ce5
@ -98,24 +98,6 @@ tree.ZoomFilter.prototype.intersection = function(filter) {
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Find the union of this and another set
|
||||
*/
|
||||
tree.ZoomFilter.prototype.union = function(filter) {
|
||||
if (filter.range) {
|
||||
for (var i = 0; i < this.range.length; i++) {
|
||||
this.range[i] = this.range[i] || filter.range[i];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
tree.ZoomFilter.prototype.neverValid = function() {
|
||||
for (var i = 0; i < this.range.length; i++) {
|
||||
if (this.range[i]) return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Invert this style rule. Apply to all zoom levels
|
||||
* that the rule previously did not apply to and
|
||||
|
Loading…
Reference in New Issue
Block a user