add utility functions to clamp latitude to +-90.0, and longitude to +-180.0
clamp bounds used for map data requests. no point in trying to request data outside +-90, +-180 coordinates, as it's pointless, and the server returns an error code anyway