You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To prevent any method name duplication from @turf/helpers (point, lineString, polygon).
Going to change the method names to randomPoint, randomLineString & randomPolygon that way it's easier to expose them in @turf/turf without manually defining them with as.
Rework
@turf/random
Looking at the
@turf/random
module and it seems like it could use a revamp for the next major release (v5.0).Reasons for rework
geojson-random
dependency doesn't include ES modulesgeojson-random
.lineString
&Position
support.Before
Proposed
Alternate ES module import
This allows tree shaking to exclude any source code which isn't relevant to the
random.point
method.The text was updated successfully, but these errors were encountered: