if size is not set, the marker image gets the width and height from the image