There's a plugin bundled in the sample project that does exactly what you described
That's the MK_MapExport one, right?
Yes