Cannot read property ‘addLayer’ of undefined in svelte

below is my code. I am using leaflet in svelte to plot a map with image.

Recent Articles

What You Want To Learn?