Thank you for the suggestion, it would surely work if I wanted just a change the default icon. But I wanted to be able to have many different icons.
So instead I choosed another plugin that had that possibilities.
which plugin you used now? cab you tell me?
thanks
Yes it’s this one : https://wordpress.org/plugins/osm/
The documentation is a bit difficult but in the latest release you have the option to give the filename to a icon that you want to use. More about it here: http://wp-osm-plugin.hanblog.net/announcement/v-2-9-1-releases-with-individual-icons-for-your-post-page-with-geotag/
Thank you very much. I used it but at that time it didn’t let you use a host picture instead of their map and I don’t like having my site depending on another server. But I will look at it again. I am almost sure that there will be a new version of leaflet map with icon selection soon.
Thanks again
Angelo