Skip to content
Last updated

API / geotoolkit / map / features / adapters / IGeometryToShape / IGeometryToShape

Class: IGeometryToShape

adapters.IGeometryToShape.IGeometryToShape

Interface to retrieve feature geometry and apply it to Node shape

Interface

Implemented by

Table of contents

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

Contents

Constructors

new IGeometryToShape()

• new IGeometryToShape()

Methods

apply

▸ Abstract apply(geometry, shape, context?): void

Applies feature geometry to Node shape

Parameters

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

Returns

void