Feature

constructor(featureGeometry: Geometry, id: String, properties: Map<String, String>)

Creates a new Feature object

Parameters

featureGeometry

type of geometry to assign to the feature

id

common identifier of the feature

properties

map containing properties related to the feature