To change the type of marker, just change the ID in the DrawMarker() function that is used to draw the marker. The ID of the marker type is the first parameter
DrawMarker()