Last updated

API / geotoolkit / map / features / formatters / List / List

Class: List

formatters.List.List

Features info formatter that displays features attributes in a simple list

Implements

Table of contents

Constructors
Methods

Contents

Constructors

new List(showId)

new List(showId?)

Features info formatter that displays features attributes in a simple list

Parameters

Name Type Description
Optional showIdbooleantrue to display features id before their attributes, false otherwise
Methods

format

format(features, text): string

Formats html text based on feature attributes as a list

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

Implementation of

IFormatter.format


getClassName

getClassName(): string

Returns

string


getClassName

Static getClassName(): string

Returns

string