A simple JavaScript app which outputs sample code according to the ArcGIS Runtime/API and your map view.