Implement map tab, with a little headache