Add options to supply a template string for the popup content and to specify an anchor point to offset the popup from the marker position