I'm new to the development of ArcGIS for JAVA. Currently, I've got an application which creates a map and loads 3 layers:
1. ArcGISTiledMapServiceLayer (World_Imagery)
2. ArcGISTiledMapServiceLayer (World_Transportation)
3. Some GPS-Points as Polylines (from a JSON-file)
When all the map content is fully loaded, I want to save the map as an image. At the moment this is done by writing a bufferedImage. Because in future the application should run automatically in backgorund, without showing the JFrame, I need some sort of event, signalizing when all content is loaded.
Is there any chance to get the correct moment, when all the work is done? Is there a more elegant way to save the map as an image?
Thanks in advance!