How to use the @turf/nearest-point.default function in @turf/nearest-point

To help you get started, we’ve selected a few @turf/nearest-point examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cheeaun / taxirouter-sg / assets / turf-modules.js View on Github external
var helpers = require('@turf/helpers');

module.exports = {
  pointsWithinPolygon: require('@turf/points-within-polygon').default,
  nearestPoint: require('@turf/nearest-point').default,
  circle: require('@turf/circle').default,
  multiPoint: helpers.multiPoint,
  point: helpers.point,
  points: helpers.points,
  polygon: helpers.polygon,
};

@turf/nearest-point

turf nearest-point module

MIT
Latest version published 3 months ago

Package Health Score

94 / 100
Full package analysis

Popular @turf/nearest-point functions