提交 3008b023 编写于 作者: L lang

Some fix

上级 5d14d225
......@@ -104,7 +104,6 @@ define(function (require) {
},
// 也是选中样式
emphasis: {
// color: 各异,
areaStyle: {
color: 'rgba(255,215,0,0.8)'
},
......
......@@ -22,10 +22,15 @@ define(function (require) {
var mapGroup = new graphic.Group();
var group = this.group;
var scale = geo.scale;
group.add(mapGroup);
mapGroup.position = geo.position.slice();
mapGroup.scale = geo.scale.slice();
mapGroup.scale = scale.slice();
itemStyle.lineWidth && (itemStyle.lineWidth /= scale[0]);
hoverItemStyle.lineWidth && (hoverItemStyle.lineWidth /= scale[0]);
zrUtil.each(geo.regions, function (region) {
......
......@@ -6,7 +6,7 @@ define(function (require) {
defaultOption: {
// 一级层叠,频繁变化的tooltip指示器在pc上独立一层
zlevel: 1,
zlevel: 0,
// 二级层叠
z: 8,
......
......@@ -32,8 +32,9 @@ define(function (require) {
itemStyle: {
normal: {
// color: 各异,
borderWidth: 0,
color: '#ccc',
borderWidth: 0.5,
borderColor: '#444',
color: '#eee',
label: {
show: false,
textStyle: {
......@@ -42,8 +43,6 @@ define(function (require) {
}
},
emphasis: { // 也是选中样式
// color: 各异,
borderWidth: 0,
color: 'rgba(255,215,0,0.8)',
label: {
show: false,
......
......@@ -197,7 +197,7 @@ define(function (require) {
var value1D = dimensions.length === 1;
// Use the first data to indicate data type;
var isValueArray = zrUtil.isArray(data[0]);
var isValueArray = zrUtil.isArray(data[0].value == null ? data[0] : data[0].value);
for (var idx = 0; idx < data.length; idx++) {
var value = data[idx];
// Each data item contains value and option
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册