Refactor minimap indicator