I tried to follow the documentation on how to include online map in your survey, I succeeded with the provided code snippet, but it didn't work when I replaced one of the services in the code with my hosted tile service in ArcGIS Online.
1. Is my service url should look like this :
2. My tile service's format is mixed, should I change the url suffix to .jpg (instead of .png)?
3. Can I add cached map service from ArcGIS Server's services directory. what would be the structure of the url?
Any help will be appreciated.
The format to use for an ArcGIS Tiled Map Service is: https://tiles.arcgis.com/tiles/<OrganizationID>/arcgis/rest/services/<ServiceName>/MapServer/
A similar pattern (end at /MapServer/ ) will work for ArcGIS Server services.
We are in the process of updating the documentation to reflect this.
Thank you very much for your answer, it worked like magic!
Can I add map service with different tiling scheme than ArcGIS Online (Web Mercator auxiliary sphere), with projected coordinate system (2039)?