Feature Info

This element provides feature info capabilities to Mapbender3. It works for WMS services.

../../../../../_images/feature_info.png

Configuration

../../../../../_images/feature_info_configuration.png

You need a button to show this element. See Button for inherited configuration options.

YAML-Definition:

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.

Table Of Contents

Previous topic

Copyright

Next topic

GPS-Position

This Page