用了uniapp的地图,做轨迹回放,代码如下,但是一直都是fail,错误信息"translateMarker:failTypeError: Cannot read property 'getRotation' of undefined",不知道是怎么回事?
然后编译成小程序,还是这块代码,会有warningVM726:1 [Vue warn]: Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
(found in subPage/replay/replayDetail.vue)