@mapgear/geoapps > Drawing > AddFeature
Drawing.AddFeature() method
Creates a feature on the dataset from the WKT-string
Signature:AddFeature(wkt: string, attributes: FeatureAttribute[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
wkt | string | WKT-string containing the drawn feature |
attributes | FeatureAttribute[] | Values that will be stored in the dataset attributes of the new feature |
void