You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm using Vuejs. I've got 'this dependency was not found' error. Even I've installed it like very many times, it keep says 'To install it, you can run: npm install --save leaflet-draw-toolbar' Please check below and let me know if anything is wrong!
Hello,
<script> import "leaflet-draw"; import LeafletToolbar from 'leaflet-draw-toolbar' methods: { initMap() { let divMap = L.map("divMap").setView([51.505, -0.09], 13); L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { attribution: '© OpenStreetMap contributors', }).addTo(divMap); new LeafletToolbar.DrawToolbar({ position: "topleft", }).addTo(divMap); }, </script>I'm using Vuejs. I've got 'this dependency was not found' error. Even I've installed it like very many times, it keep says 'To install it, you can run: npm install --save leaflet-draw-toolbar' Please check below and let me know if anything is wrong!
The text was updated successfully, but these errors were encountered: