Look into the worldmapgump improvements: https://github.com/ClassicUO/ClassicUO/commits/main/src/ClassicUO.Client/Game/UI/Gumps/WorldMapGump.cs