Project: QGIS

Version: 3.30

Feature: Raster MapTips

in previous releases, MapTips were only available for vector layers, but new API changes have made it possible to implement MapTips for other layer types.

Raster layers now support MapTips, and new expression utility functions have been added to extend the existing MapTips capabilities:

  • map_to_html_table: converts a map (key-value pair data structure) to an HTML table
  • map_to_html_dl: converts a map (key-value pair data structure) to an HTML definition list
  • raster_attributes: creates a map with the fields names as keys and the raster attribute table values as values from the attribute table entry that matches the given raster value
  • a new "Map Layer Position" expression scope that defines a variable @layer_cursor_point with the layer coordinates (in the layer's CRS) under the mouse position

This feature was funded by NOAA OCS Hydrography

This feature was developed by Alessandro Pasotti