Methods

(inner) feature_info(mapview, plugin)

The feature_info plugin method creates a button for the mapButton list.

The button will toggle a custom highlight interaction with the getFeature method displaying the feature info in a popup.

Parameters:
NameTypeDescription
mapviewmapview

The mapview for the highlight feature info interaction.

pluginObject

The plugin config object from the locale.

Properties
NameTypeAttributesDescription
plugin.logboolean<optional>

Log the feature in the dev console.

plugin.featuresboolean<optional>

Include the cluster features[] label in the output.