I want to personalize my leaflet markers, for this reason I'm reading this documentation.
My problem is in iconUrl because it can't find the path of the images. Here in the documentation, they just write,
iconUrl: 'leaf-green.png'
But if I just write this, the path is wrong.
GET http://127.0.0.1:8000/dataMap/leaf-green.png 404 (Not Found)
Then my idea was, I'm in the js folder, I have to write the path from here to the marker.
iconUrl: '../img/markers/leaf-green.png',
GET http://127.0.0.1:8000/img/markers/leaf-green.png 404 (Not Found)
Here is my structure
It doesn't work too. Then, how I have to write the path?
Thank you very much!!
