diff --git a/src/chart/custom.js b/src/chart/custom.js index d5c6ce1791523cc8fea23c153f87e3255a7753ad..899a556af9e86a8ca9570d5e2947a9d5fadc278d 100644 --- a/src/chart/custom.js +++ b/src/chart/custom.js @@ -209,7 +209,7 @@ define(function (require) { // z2 must not be null/undefined, otherwise sort error may occur. el.attr({z2: elOption.z2 || 0, silent: elOption.silent}); - el.styleEmphasis !== false && graphicUtil.setHoverStyle(el, el.styleEmphasis); + elOption.styleEmphasis !== false && graphicUtil.setHoverStyle(el, elOption.styleEmphasis); } function prepareStyleTransition(prop, targetStyle, elOptionStyle, oldElStyle, isInit) { diff --git a/test/custom-bmap-grid.html b/test/custom-bmap-grid.html new file mode 100644 index 0000000000000000000000000000000000000000..e27f4498f9bf937c446d248e31a8f2a1fc201e14 --- /dev/null +++ b/test/custom-bmap-grid.html @@ -0,0 +1,386 @@ + + + + + + + + + + + + + + +
+ free +
+ +
+ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/custom-bmap.html b/test/custom-bmap-polygon.html similarity index 100% rename from test/custom-bmap.html rename to test/custom-bmap-polygon.html