Init localMap and update player