return clone of bounds in Overlay.getBounds so original bounds wouldn't be affected

This commit is contained in:
Alexey Tikhonov 2016-02-20 00:44:33 +03:00
parent 06d263b4be
commit 7bcb1cc59f

View File

@ -319,7 +319,7 @@
*/
getBounds: function() {
return this.bounds;
return this.bounds.clone();
}
};