JMap.Geometry.getFeatureCollection
Returns a feature collection.
could be a collection of turf features, JMap locations, or JMap points
// returns the feature collection for the 2 pointsconst distance = JMap.Geometry.getFeatureCollection([ { x: 10, y: 20 }, { x: 30, y: 30 } ]) Copy
// returns the feature collection for the 2 pointsconst distance = JMap.Geometry.getFeatureCollection([ { x: 10, y: 20 }, { x: 30, y: 30 } ])
JMap.Geometry.getFeatureCollection
Returns a feature collection.