Subscribe to click events on layerId and render a popup at the click point. Assumes the host passes a map that matches MapEventTarget (all MapLibre Map instances do).
click
layerId
MapEventTarget
Map
Subscribe to
clickevents onlayerIdand render a popup at the click point. Assumes the host passes a map that matchesMapEventTarget(all MapLibreMapinstances do).