add map for resize window