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
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