API / geotoolkit / map / features / MultiLineString / MultiLineString
features.MultiLineString.MultiLineString
Multi line string map feature implementation.
↳
MultiLineString
Constructors
Constructors
• new MultiLineString(options)
| Name | Type | Description |
|---|---|---|
options | Options | feature options |
AbstractFeature.constructor
Methods
▸ applyMapCS(layer): MultiLineString
Applies Map coordinate system to itself
| Name | Type | Description |
|---|---|---|
layer | AbstractLayer | map layer to use for coordinate system conversion |
this
▸ Protected copyConstructor(src): MultiLineString
Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.
Makes a shallow copy of the feature.
| Name | Type | Description |
|---|---|---|
src | AbstractFeature | Source to copy from |
this
AbstractFeature.copyConstructor
▸ getAttributes(): Attributes
Gets attributes (non-spatial properties) Attributes are some additional (non-spatial) properties. These attributes can be written as a text next to the feature itself for more information for the user.
attributes
▸ getClassName(): string
string
▸ getGeometry(isMapCS?): Geometry[]
Gets geometry Geometry is the place, where the feature should be rendered. It is point coordinates for a point feature or a points array for polygons and polylines.
| Name | Type | Description |
|---|---|---|
Optional isMapCS | boolean | Map coordinate system flag |
Geometry[]
geometry
▸ getId(): string
Gets ID Id is a unique identifier of the feature, usually one of the attributes. It is used to simplify settings for the user, as a default 'annotation' (text info) for the feature.
string
ID
▸ shallowClone(): AbstractFeature
All subclasses should override copyConstructor or provide custom implementation for this method Returns shallow copy of the feature
clone
▸ Static getClassName(): string
string