Include a map in your survey

178
4
12-31-2018 04:42 AM
Highlighted
Occasional Contributor II

Hi,

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 :

https://tiles.arcgis.com/tiles/<OrganizationID>/arcgis/rest/services/<ServiceName>/MapServer/tile/${...

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.

Guy

Reply
0 Kudos
4 Replies
Highlighted
Esri Esteemed Contributor

Hi Guy,

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.

Highlighted
Occasional Contributor II

Hi James,

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)?

Reply
0 Kudos
Highlighted
Esri Esteemed Contributor

Hi Guy,

Currently, only the Web Mercator auxiliary sphere projection is supported.

Highlighted
Occasional Contributor II

Ok, thanks James for your quick help!

Reply
0 Kudos