AnsweredAssumed Answered

On-Premise basemap

Question asked by scop_sts on Dec 2, 2014
Latest reply on Dec 2, 2014 by JGravois-esristaff

Good Afternoon colleagues,

 

In JavaScript how does one setup basemap URLs that are not from arcgis-online.  We have an on-premise system which basemaps are coming from another ArcGIS server.  For example, we are referencing common basemaps, such as:

 

  • ArcGISTiledMapServiceLayer

"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"

 

  • ArcGISTiledMapServiceLayer

"https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"

 

  • ArcGISTiledMapServiceLayer

"https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"

 

 

I am new to JavaScript and coding with ESRI JavaScript packages.  A few questions:

  1. Are these the correct MapServiceLayer objects used for each?
  2. If I wanted to change the URL to a local service, what are the steps to take?
    1. Are there additional steps if the web app uses an proxy?

 

Your time and suggestions are greatly appreciated.  Thank you for your insight. 

Outcomes