提交 07a5a2de 编写于 作者: L lang

Fix all data is 0 bug

上级 d11873d5
......@@ -31,7 +31,7 @@ define(function (require) {
}
if (thisExtent[0] === thisExtent[1]) {
// Expand extent
var expandSize = thisExtent[0] / 2;
var expandSize = thisExtent[0] / 2 || 1;
thisExtent[0] -= expandSize;
thisExtent[1] += expandSize;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册