Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

only 5 decimal points for coords

Jason Kente5f41b0d6667
diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.js
index 6942ad427..872b2ba3a 100644
--- a/web/js/containers/sidebar/smart-handoff.js
+++ b/web/js/containers/sidebar/smart-handoff.js
@@ -164,8 +164,8 @@ class SmartHandoff extends Component {
else if (geolonlat2[1] < -90) geolonlat2[1] = -90;
const currentExtent = {
- southWest: `${geolonlat1[0]},${geolonlat1[1]}`,
- northEast: `${geolonlat2[0]},${geolonlat2[1]}`,
+ southWest: `${geolonlat1[0].toFixed(5)},${geolonlat1[1].toFixed(5)}`,
+ northEast: `${geolonlat2[0].toFixed(5)},${geolonlat2[1].toFixed(5)}`,
};
const coordinates = {