ArcGIS API for JavaScript: Layers/PlanningLayers (MapServer)
Built using the ArcGIS API for JavaScript