Relative Content

Tag Archive for vue.jsleafletvuejs3vue-composition-apiquasar

LPolyline not updating with new data with Vue 3

I am making a map application using vue 3, quasar and vue-leaflet. I have gotten the map to render and I have markers able to be rendered and update the location when new data comes in. When I try to update the polyline by updating the array pointed to by the lat-lng property it does not update the polyline on the map. Depending on how I refresh quasar/browser I can sometimes get some of the line to render (everything that has accumulated in the array, but it won’t render anything new in realtime)