addMarker() options now properly handles vectors.