
      DC.config.baseUrl = '../libs/dc-sdk/resources/'
      let viewer = new DC.Viewer('viewer-container')
      let baseLayer = DC.ImageryLayerFactory.createImageryLayer(
        DC.ImageryType.AMAP,
        {
          style: 'img',
          crs: 'WGS84',
        }
      )
      viewer.addBaseLayer(baseLayer)
      let effect = new DC.Effect(viewer)
      effect.night.enable = true

      let controls = {
        enable: true,
      }
      let gui = new dat.GUI()
      gui.add(controls, 'enable').onCha