Now I'm accessing the feature layers directly from Map Image layer indeed, but the application is extremely slow. A large part of the requests are canceled:
When I want to get some info with the popup I need wait > 60 sec?!
What could be the reason of canceled requests? I'm pretty sure that the server and/or service have not appropriate setup.
If I use a hosted server, will it improve the performance? And what are the requirements to set arcGIS server for hosted server, because it is not appeared as an option in a dropdown menu.