0👍
Probably a this
context scope issue:
setTimeout (this.drawMarker.bind(this), 500)
This is a classic JavaScript mistake.
this
in JavaScript does not necessarily refer to your class instance object. It is the context of the function when it is called.
- [Vuejs]-Highcharts chart didn't redraw after vue data changed
- [Vuejs]-Update element's text when $emit function has been triggered
Source:stackexchange.com