Closed bwyss closed 7 years ago
When using @turf/turf
it exposes all the sub methods.
is valid
var geom = turf.getGeom(point)
won't work in v5.0 (maybe it should.. 🤔 )
var geom = turf.invariant.getGeom(point)
Ref: https://github.com/Turfjs/turf/blob/master/packages/turf/index.js#L101
thx! I absolutely love the library by the way!!!
👍 @bwyss Thanks, don't hesitate to submit more issues if something isn't conforming to the GeoJSON spec.
A small thing, the API docs under Meta / getGeom reads:
var geom = turf.getGeom(point)
Should be:
var geom = turf.invariant.getGeom(point)