I want to implement a sort of content negotiation so as to export my map in formats like pdf jpg etc.
Is there any way to export my current map view (with all the enabled options so far) in various formats? With the term current map view i mean "what the end user sees at a specific moment".
My map is generated by combining map Services from different web servers in the Web.
As a result an option such as combining my services in arcMap, publish my map as a MapService and use the export capability provided cannot help: Ex. http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/export?bbox=-241.20512466608835,-27.80850864596666,51.688012394341115,67.48206676752923
I want to get the data live directly from the servers.
In fact would like to use a function like myMap.export("format") where myMap is the current map object shown by my browser.