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