I've added a constructor to set the marker image

This is an easy and clean way to set the marker image.