}
},
- remove: function() {
+ removeFrom: function(map) {
if (this.changeTimeout) {
clearTimeout(this.changeTimeout);
}
this._hash = L.hash(this);
};
L.Map.prototype.removeHash = function() {
- this._hash.remove();
+ this._hash.removeFrom();
};
})(window);