Skip to content

Latest commit

 

History

History
executable file
·
30 lines (17 loc) · 1.37 KB

concave.md

File metadata and controls

executable file
·
30 lines (17 loc) · 1.37 KB

concave

Takes a set of points and returns a concave hull polygon. Internally, this uses turf-tin to generate geometries.

Parameters

  • latLngArray (Array<google.maps.LatLng> | Array<google.maps.LatLngLiteral> | google.maps.MVCArray) array of google positions
  • options Object options to pass to the concave function
    • options.maxEdge number the size of an edge necessary for part of the hull to become concave (in chosen units)
    • options.units string degrees, radians, miles, or kilometers. Defaults to kilometers

Returns Feature<Polygon> a concave hull