Implemented map resizing in editor.