Hi, I made a nice little tool using dash_leaflet using various custom icons.
Currently, I’m hosting these icons on the web because I can’t seem to find any info on local hosting of these files. Does anyone know if this is possible?
Currently I make my markers using the following line of code:
dl.Marker(position=[lat, lon], icon={"iconUrl": iconUrl, "iconSize": icon_size, 'iconAnchor':iconAnchor}, title = obj_name)
Thank you for message. I couldn’t make this work before. But, this was because I was importing the module I was working on, which is why it was expecting the assets map to be in my original working directory together with an app.py. Luckily you can define a new location for the assets folder when creating the app variable. So I got it working now.