mapwriter put in mapeditormode