working on panMap