Feature request #1386
Enhanced Map Tips through Macro Language/Operators
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||11446|
Map Tips are a useful feature to display attribute data on mouse-over as tooltips. However, they can only display a single data column. It would be very useful to enhance this feature with a simple macro language or operators, which would allow simple calculations and concatenations of multiple data columns.
Applications would be the concatenation of several columns towards an address: concatenate street, house-nr, zip-code, city, etc. into a single address string. Another application would be to calculate a new value based on 2 or more other data-columns.
Operators would include simple math operators and at least concatenation. Since QGIS already supports python, it could be useful to use python compatible syntax for this macro-language/operators.
It would also be useful to display multi-line tooltips. "\
" could trigger a new-line. At most, tooltips could also display image data, such as a small photo thumbnail.