Updated MapEditor component.