ArcGIS API for JavaScript: ReadOnly/Mask (MapServer)
Built using the
ArcGIS API for JavaScript