remove generate map button and handled action in a view.