# Map Info

### Video

{% embed url="<https://youtu.be/EyTtbkPqkVo>" %}

### Example

```lua
RegisterCommand("mapinfo",function()
    local data = {
        title = "title",
        subTitle = "subTitle",
        texture = {
            dict = "pausemenu_textures",
            name = "horse_background",
        },
        description = [[
        Description
        Line 2
        Line 3
        Line 4
        Description
        Line 6
        ]],
        footer = "footer2",
        hovered = true,
        hoveredname = "hoveredname",
    }
    exports["qadr_ui"]:createMapInfo(data,function(callbackData)
        if callbackData then
            print("mapinfo callback")
        end
    end)
end)
```

{% hint style="warning" %}
If you use info UI, [#default-blip-name](https://abdulkadir-aktas.gitbook.io/qadr_docs/qadr_ui/hovered-blip-name#default-blip-name "mention") changes will be removed and you must set this again.
{% endhint %}
