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:
PropertiesName | Type | Description |
---|---|---|
mapview | mapview | The mapview for the highlight feature info interaction. |
plugin | Object | The plugin config object from the locale. |
Name | Type | Attributes | Description |
---|---|---|---|
plugin.log | boolean | <optional> | Log the feature in the dev console. |
plugin.features | boolean | <optional> | Include the cluster features[] label in the output. |
- Source