core.js:12632 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'width' of undefined
TypeError: Cannot read property 'width' of undefined
at U.GR (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:4620)
at U.ij (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:4213)
at U.initialize (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:139)
at U.initialize (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:3820)
at U.xe (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1)
at Na.Ka (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1)
at angular2-baidu-map.js:598
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388)
at Object.onInvoke (core.js:14191)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387)
at U.GR (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:4620)
at U.ij (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:4213)
at U.initialize (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:139)
at U.initialize (eval at AY (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1), :1:3820)
at U.xe (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1)
at Na.Ka (getscript?v=3.0&ak=8cCFbavuWzrvBgUBs5w6PyV3xsXDohp6&services=&t=20181029164750:1)
at angular2-baidu-map.js:598
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388)
at Object.onInvoke (core.js:14191)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387)
at resolvePromise (zone.js:814)
at resolvePromise (zone.js:771)
at zone.js:873
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:14182)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:595)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
at invokeTask (zone.js:1540)
can you provide a demo? How you get this error