creates a new instance from an existing map feature
the id of the feature, must be unique in the layer
the properties of the draw feature
the feature to copy geometry from
creates a new instance from a geo json object
the id of the feature, must be unique in the layer
the properties of the custom feature
the geojson object or string to process
Generated using TypeDoc
factory for creating draw features