fixed the validation of the limits of latitude and longitude. Now using double values (instead of int) to reject values like 180.1.