JS API
Map Object
QueryEngine Object
Layer Object
Feature Object
Query Object
GeoJson Function Library (Experimental)

createFeatureCollection

Creates a GeoJSON FeatureCollection object.

Parameters

Name Required Description
source No If source is not set, the FeatureCollection will be empty. Also accepts a FeatureCollection, an array of Features or a single Feature.