ArcGIS JavaScript API: bag_hillshades_subsets (ImageServer)
Built using the ArcGIS API for JavaScript