Added code to find bounding box of Map