Adding utility for calculating map bounds