creates a new instance from an existing map feature
the id of the feature, must be unique in the layer
the properties of the custom feature
the custom layer this feature was created for
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 custom layer this feature was created for
the geojson object or string to process
creates a new instance with line string geometry
the id of the feature, must be unique in the layer
the properties of the custom feature
the custom layer this feature was created for
the coordinates of the geometry
creates a new instance with multi line string geometry
the id of the feature, must be unique in the layer
the properties of the custom feature
the custom layer this feature was created for
the coordinates of the geometry
creates a new instance with multi point geometry
the id of the feature, must be unique in the layer
the properties of the custom feature
the custom layer this feature was created for
the coordinates of the geometry
creates a new instance with multi polygon geometry
the id of the feature, must be unique in the layer
the properties of the custom feature
the custom layer this feature was created for
the coordinates of the geometry
creates a new instance with point geometry
the id of the feature, must be unique in the layer
the properties of the custom feature
the custom layer this feature was created for
the coordinate of the geometry
creates a new instance with polygon geometry
the id of the feature, must be unique in the layer
the properties of the custom feature
the custom layer this feature was created for
the coordinates of the geometry
Generated using TypeDoc
factory for creating custom features