Skip to content
Last updated

API / geotoolkit / map / features / adapters / Polygon / Polygon

Class: Polygon

adapters.Polygon.Polygon

Applies feature geometry's 'x' and 'y' coordinates (in Map C.S.) to Polygon

Implements

Table of contents

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

Contents

Constructors

new Polygon()

• new Polygon()

Methods

apply

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

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

Parameters

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