fix latitude validation

Previously allowed latitude to be -180..180 instead of proper -90..90.