qgis / qgis-js

QGIS core ported to WebAssembly to run it on the web platform

Home Page:https://qgis.github.io/qgis-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for FeatureInfo (Identify tool)

andreasneumann opened this issue · comments

It would be good if there could be feature info support (Identify tool) in the JS-QGIS API.

QGIS has different identify-tools modes:

  • Current layer
  • Top-Down, Stop at first
  • Top-down (and return results for all layers)
  • Interactive layer choice

grafik

For the web mapping context I think that the middle two versions (Top-Down, Stop at first; Top-down) would make most sense.

It would be great if this could support the QGIS expression engine and HTML for the display of feature info. See the "Display" section in the Layer properties:

grafik

That way we can be really flexible, with the mixture of HTML and QGIS expression support.