.. _feature_info: Feature Info ************ This element provides feature info capabilities to Mapbender3. It works for WMS services. .. image:: ../../../../../figures/feature_info.png :scale: 80 Configuration ============= .. image:: ../../../../../figures/feature_info_configuration.png :scale: 80 You need a button to show this element. See :doc:`button` for inherited configuration options. YAML-Definition: .. code-block:: yaml tooltip: Feature Info # text to use as tooltip target: ~ # Id of Map element to query autoOpen: false # true/false open when application is started, default: false deactivateOnClose: true # true/false to deactivate the functionality after closing the result dialog, default is true Class, Widget & Style ============================ * Class: Mapbender\\CoreBundle\\Element\\FeatureInfo * Widget: mapbender.element.featureInfo.js * Style: mapbender.elements.css HTTP Callbacks ============== None. JavaScript API ============== activate -------- Activates the widget which then waits for mouse click on the map and starts the feature info queries. deactivate ---------- Deactivates the widget. JavaScript Signals ================== None.