billy-poon / echarts-amap

an echarts extension to support AMap(http://lbs.amap.com/)
MIT License
60 stars 31 forks source link

echartsInstance.setOption({amap.resizeEnable:true}) not working as expected #2

Closed billy-poon closed 7 years ago

billy-poon commented 7 years ago

file

src/AMapView.js

function

resizeHandler

code

function resizeHandler(e) {
  api.getZr().resize();
  moveHandler.call(this, e)
}

ZRenderInstance.resize() is not enough for echartsInstace.resize()

fixing

this bug will be fixed on version 1.0.0-rc.6