auto complete and optimize display map