Get features under the mouse pointer
Use the queryRenderedFeatures
function to display the attributes of map elements when they are hovered over.
Related examples
An extension of MapLibre GL JS
Use the queryRenderedFeatures
function to display the attributes of map elements when they are hovered over.