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
@amalshehu One thing to try is to use either leaflet-dvf.js or leaflet-dvf.markers.js, not both. leaflet-dvf.js has everything in leaflet-dvf.markers.js, so you don't need both, and importing both usually causes issues. If you just want the Leaflet DVF markers and nothing else, use leaflet-dvf.markers.js. I assume you're importing Leaflet as well?
This issue happens if leaflet.js is not included before leaflet-dvs.js. I managed to resolve it by adding leaflet.js to the angular.cli.json before leaflet-dvf.js
I'm using leaflet-dvf in my angular 2 project.
I tried to integrate leaflet-dvf in my angular 2 application.
I added its scripts on index.html
index.html
map.component.ts
But I'm getting the following error
The text was updated successfully, but these errors were encountered: