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(record)

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

formatDetailed(record)

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