Add initial support for exporting map as png.