Skip to content
Last updated

API / geotoolkit / map / features / formatters / IFormatter / IFormatter

Class: IFormatter

formatters.IFormatter.IFormatter

Interface for the tooltip data formatter for map feature layers

Interface

Implemented by

Table of contents

Constructors
  • [new IFormatter()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.features.formatters.iformatter.iformatter.md#new iformatter())
Methods

Contents

Constructors

new IFormatter()

• new IFormatter()

Methods

format

▸ Abstract format(features, text): string

Formats features data info

Parameters

Name Type Description
featuresAbstractFeature[]features list to format
textstringtext created by the previous formatters from other layers

Returns

string

text the formatted text result