(a)
| 53 | return math.radians(a) * EARTH_RADIUS |
| 54 | |
| 55 | def project(a): # LatLon -> CARLA coordinates. |
| 56 | return carla.Vector2D(lat2y(a[0]), lon2x(a[1])) |
| 57 | |
| 58 | def spawn_imagery(client, zoom, min_lat, min_lon, max_lat, max_lon, offset): |
| 59 | bottom_left_id = deg2num(zoom, min_lat, min_lon) |
no test coverage detected