API / geotoolkit / map / features / adapters / IGeometryToShape / IGeometryToShape
adapters.IGeometryToShape.IGeometryToShape
Interface to retrieve feature geometry and apply it to Node shape
Interface
Constructors
- [new IGeometryToShape()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.features.adapters.igeometrytoshape.igeometrytoshape.md#new igeometrytoshape())
Methods
Methods
▸ Abstract apply(geometry, shape, context?): void
Applies feature geometry to Node shape
| Name | Type | Description |
|---|---|---|
geometry | Geometry | feature geometry |
shape | Node | shape to set the geometry on |
Optional context | Transformation | RenderingContext | rendering context or its transformation |
void