ArcGIS API for JavaScript: SBMGISDevelopment/MaskLayer (MapServer)
Built using the
ArcGIS API for JavaScript