wangli66 / vue-leaflet-more

快速使用 leaflet 进行 vue 项目的开发,丰富的组件,简单易上手
MIT License
9 stars 2 forks source link

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'trim') #1

Closed ashafizullah closed 1 year ago

ashafizullah commented 1 year ago

After import vueLeaflet in app.js and use that, and add basic of LMap i my view, then the map is not showing, only show blank. In console log, there is an error Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'trim')

My project based on Laravel Vue.Js 3

wangli66 commented 1 year ago

@ashafizullah Thank you for your feedback. This component is developed based on vue2.0. If you need to use the functions of this component in vue3, please download vue3-leaflet on npm to use。