ArcGIS JavaScript API: Basemap/BasemapScales (MapServer)

Built using the ArcGIS API for JavaScript