提交 c135fdb5 编写于 作者: P pissang

[geo] region.properties

上级 f14feb5e
......@@ -49,6 +49,8 @@ define(function (require) {
constructor: Region,
properties: null,
/**
* @return {module:zrender/core/BoundingRect}
*/
......
......@@ -111,11 +111,13 @@ define(function (require) {
});
}
return new Region(
var region = new Region(
properties.name,
geometries,
properties.cp
);
region.properties = properties;
return region;
});
};
});
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册