Skip to content
Last updated

API / geotoolkit / map / features / adapters / LineString / LineString

Class: LineString

adapters.LineString.LineString

Applies LineString LineString geometry's coordinates (in Map C.S.) to Polyline

Implements

Table of contents

Constructors
  • [new LineString()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.features.adapters.linestring.linestring.md#new linestring())
Methods

Contents

Constructors

new LineString()

• new LineString()

Methods

apply

▸ apply(geometry, polyline, context?): void

Applies feature geometry's 'x' and 'y' coordinates to Polyline shape

Parameters

Name Type Description
geometryGeometryfeature geometry
polylinePolylinepolyline to set the coordinates on
Optional contextTransformation | RenderingContextrendering context or its transformation

Returns

void

Implementation of

IGeometryToShape.apply


getClassName

▸ getClassName(): string

Returns

string


getClassName

▸ Static getClassName(): string

Returns

string