prepare for map popup