Exporting setMap so it is documented for custom controls