title: Understanding required for inserting "esri/dijit/analysis/AggregatePoints" or related esri digit widget functions for arcgis javascript
body: <p>Currently, my code looks a little something like this and my map displays fine from my desktop without the inclusion of <strong>"esri/dijit/analysis/AggregatePoints" or related widgets.</strong> Is there a specific position to insert the widget to ensure that my map still displays even after the inclusion?</p>
  
  <pre><code>require([
      // ArcGIS
      "esri/Map",
      "esri/views/MapView",
      "esri/layers/FeatureLayer", "esri/layers/MapImageLayer",  "esri/layers/TileLayer", "esri/layers/GraphicsLayer",
  
    "esri/geometry/geometryEngine",
    "esri/Graphic",
    "esri/symbols/SimpleFillSymbol","esri/symbols/SimpleMarkerSymbol", "esri/symbols/PictureMarkerSymbol", "esri/symbols/TextSymbol",
    "esri/geometry/SpatialReference",
  
      // Widgets
      "esri/widgets/BasemapGallery",
      "esri/widgets/Search",
      "esri/widgets/Legend",
      "esri/widgets/LayerList",
      "esri/widgets/BasemapToggle",
      "esri/widgets/ScaleBar",
      "esri/widgets/Popup",
  
  
      // Bootstrap
      "bootstrap/Collapse",
      "bootstrap/Dropdown",
  
      // Calcite Maps
      "calcite-maps/calcitemaps-v0.4",
  
  
      "dojo/domReady!"
  ],
  </code></pre>