Add displayLocationInfo function