Include a map in your survey

772
4
12-31-2018 04:42 AM
GuyNizry
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

0 Kudos
4 Replies
JamesTedrick
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.

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

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Guy,

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

GuyNizry
Occasional Contributor II

Ok, thanks James for your quick help!

0 Kudos