Skip to content

Commit

Permalink
Removing an old console log
Browse files Browse the repository at this point in the history
  • Loading branch information
sdl60660 committed Jan 11, 2022
1 parent be926cf commit 28a8250
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const getDataBounds = (linestringData, coordinatesExtracted=false) => {
// Returns distance in meters (negative values for points inside) from a point to the edges of a polygon
// This function comes from here: https://github.com/Turfjs/turf/issues/1743
const distanceToPolygon = ({ startPoint, targetPolygon }) => {
// if (!targetPolygon.geometry) {
console.log('here!', targetPolygon)
// }

if (targetPolygon.type === "Feature") { targetPolygon = targetPolygon.geometry }

let distance;
Expand Down

0 comments on commit 28a8250

Please sign in to comment.