AnsweredAssumed Answered

How to Add Local parcel layers to Base Map

Question asked by on Aug 6, 2018
Latest reply on Aug 7, 2018 by rscheitlin

I am looking at Java script 4.8 samples and I can see how maps are added from CDN's like esri. How do add a layer to the base map that is published locally from arc server like a parcel layer?  


This is old code from several years ago that gets service:


 var parcelServiceURL = ArcGISURL+"/arcgis/rest/services/DDS/Parcels/MapServer";


How can i add local layers from using the latest java script code?