leaflet set default icon marker code example Example: leaflet update marker icon marker.setIcon(<Icon> icon);