Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

Format the mesh-floor sampler

Sameh Khamis34dabd1e8848
diff --git a/src/services/meshFloorSampler.js b/src/services/meshFloorSampler.js
index 4f748b592..e1416d288 100644
--- a/src/services/meshFloorSampler.js
+++ b/src/services/meshFloorSampler.js
@@ -124,7 +124,8 @@ export function createMeshFloorSampler({
if (
Number.isFinite(viewerLat) &&
Number.isFinite(viewerLon) &&
- approxDistanceKm(viewerLat, viewerLon, cell.lat, cell.lon) > MAX_SAMPLE_DIST_KM
+ approxDistanceKm(viewerLat, viewerLon, cell.lat, cell.lon) >
+ MAX_SAMPLE_DIST_KM
) {
continue; // too far: tiles not streamed there, probe would be a guaranteed miss
}