Page 1 of 1

API to add overlay and action buttons to the map overlay UI

Posted: Tue Jun 16, 2026 12:19 am
by djfariel
TL;DR
API to add overlay and action buttons to the map overlay UI that can toggle custom overlays and perform custom actions, much like the shortcuts bar.

What?
Some mods would like to add custom overlays, but there is no way to toggle those overlays without shortcuts or custom UI. Having an API to register custom overlay toggles (which already appears to be set up to scale this way, similarly to the shortcut bar) would allow us to, well, register custom overlay toggles. It would improve the accessibility of chart rendering. Additionally, the Ping and Tag buttons that are above this could be extended with shortcut-like actions. They make sense with where they are contextually, and some other custom actions (e.g. a map pen tool, a map shape tool, etc) would benefit from gaining that context over using the shortcut bar or a custom window.
Why?
Modding accessibility and customization.

Thanks!

Re: API to add overlay and action buttons to the map overlay UI

Posted: Mon Jun 22, 2026 6:56 pm
by berggen
+1, would love to add some custom overlays, and it would be nice to get them registered in the UI like other overlays.

Re: API to add overlay and action buttons to the map overlay UI

Posted: Mon Jun 22, 2026 8:35 pm
by Osmo
+1, would be useful in lots of mods. It could be to the buttons above or below the minimap or both. Could use the same system as shortucts or something else.