LocationPresenter: create a private function to get the icon from a type