map tab now recycles the existing map instead of creating a brand new map everytime it renders