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

createFeature

Creates a GeoJSON Feature object.

Parameters

Name Required Description
geometry Yes The GeoJSON geometry object of the feature.
properties No The properties object of the feature. If not set, the properties object will be an empty object.
id No The id of the feature. Undefined if not set.