Skip to content
Last updated

API / geotoolkit / map / features / adapters / Path / Path

Class: Path

adapters.Path.Path

Applies LineString or Polygon geometry's coordinates (in Map C.S.) to Path

Implements

Table of contents

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

Contents

Constructors

new Path()

• new Path()

Methods

apply

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

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

Parameters

Name Type Description
geometryGeometryBasefeature geometry
pathPathpath 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