Class: IWPoiContentFormatterEngine

IWPoiContentFormatterEngine


new IWPoiContentFormatterEngine()

A class to format POI content from identify requests.
Returns:
Type
PoiContentEngine

Methods


addFormatter(formatter)

Adds a POI formatter to the list.
Parameters:
Name Type Description
formatter

formatCompact(records)

Returns a compact representation of a POI to display it in a tooltip.
Parameters:
Name Type Description
records an array of POI records from an identify request
Returns:
the DOM object

formatDetailed(records)

Returns a detailed representation of a POI to display it in a bubble.
Parameters:
Name Type Description
records an array of POI records from an identify request
Returns:
the DOM object