map display logic