Greetings,
We are using the esri 4.11 javascript library for our mapping solution. For our development environment, we have been using the default configuration which connects to the remote tile server (https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer). Now we need to point to our local in-house server. How and where is that configured?
Thanks,
Jeff
Solved! Go to Solution.
Jeff,
Have you seen this sample?
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=basemap-custom
Basically you would use that sample but replace web tile layer with
var layer = new TileLayer({
url: "https://your server url/arcgis/rest/services/your tile service/MapServer"
});
Nobody?
Jeff,
Have you seen this sample?
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=basemap-custom
Basically you would use that sample but replace web tile layer with
var layer = new TileLayer({
url: "https://your server url/arcgis/rest/services/your tile service/MapServer"
});
OK, we were using ArcGISDynamicMapServiceLayer and that didn't work. The one you are suggesting works. I see now it's a version thing.
Thank you for your help.