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?