Since the minimap displays the entire level and the window is small, it will likely save significant drawing compute by rendering to a texture and then just displaying that texture with annotations on top. The texture can be re-rendered as the level is modified.