GE Lua Documentation

Press F to search!

onPoiSelectedFromBigmap

Definition


-- @/lua/ge/extensions/freeroam/vueBigMap.lua:739

local function onPoiSelectedFromBigmap(poiId)
  if poiId then
    local poiIds = freeroam_bigMapMarkers.getIdsFromHoveredPoiId(poiId)
    if not tableIsEmpty(poiIds) then
    guihooks.trigger("showPoiDetails", {poiIds = poiIds})
    else
      guihooks.trigger("showPoiDetails", {})
    end
  else
    guihooks.trigger("showPoiDetails", {})
  end
end

Callers

@/lua/ge/extensions/flowgraph/nodes/ui/onBigmapPoiSelected.lua

function C:onPoiSelectedFromBigmap(poiId)
  if poiId then