Open leifgiering opened 7 months ago
I'm trying to use Leaflet with OpenStreetMap and Nuxt3 to show the route between two given locations, but it only shows the pins. I have confirmed that the coordinates are formatted correctly, so I'm not sure why I'm getting an 'undefined' error.
Here is the full component: https://pastebin.com/L83n1chH
This is the vue-leaflet github and you are not using vue-leaflet. You should post to https://github.com/Leaflet/Leaflet
I'm trying to use Leaflet with OpenStreetMap and Nuxt3 to show the route between two given locations, but it only shows the pins. I have confirmed that the coordinates are formatted correctly, so I'm not sure why I'm getting an 'undefined' error.
Here is the full component: https://pastebin.com/L83n1chH