Use double for lat and lon instead of float.